Occasionally seeing issue of duplicate release number created for two projects when release created for single project only. and this happened for one user, not all user. But its difficult to reproduce.
Not sure its octopus bug, Please let us know your thought about this.
Note:- one project was created by cloning other project and project group is same.
Which version of Octopus are you currently running?
Is there anything in the audit log for the release creation for those 2 projects that may point us in the right direction? You can find the audit log in Configuration > Audit. If you look at both entries and the origin and other data, we might get some clues on what could be causing this.
Thanks quick response.
We are using version 2019.5.12.
I noticed in Audit log both projects releases were created on different date, one week difference in create date.
Thank you for getting back to us and providing us with the version of Octopus.
The audit log should also have entries for what is creating the releases, such as a portal, api key, etc. Do you see these in the audit log as well, and can you relay them to us? Next to each release in the audit log, there is a drop-down button that expands the record to show further details. The ‘Established with’ field should help track down where each release is originating.
Thanks for keeping in touch. I’ll jump in here with Patrick as he’s currently offline as part of our US-based team.
This is a strange one, especially since there’s the week difference in the two being created. I’m wondering if maybe the second release (Releases-627 in Projects-21) might have been created as part of the deployment process when the release from the first project is deployed. This could be the case if you are using the Chain Deployment library step, pointing it to the second project and setting the release version in it. Might be a long shot, but wondering if maybe that’s what’s going on?
Do you have any triggers configured on the second project that’s configured to create a new release when it fires?
How is the release of the first project initially created? (Manually in the UI, Octo CLI, build server, etc.)
Would you be willing to share the deployment process JSON from both projects so I can attempt to reproduce this issue locally? You can download this in your projects’ Process tab, under the overflow menu as shown below.
We are not using Chain Deployment library step or any trigger.
First release was created manually in octopus UI.
We will try to reproduce if we can then I will reach out again.
Thanks for the confirmation, and sounds like a plan. If you do reproduce it, I’d like to have a look at your deployment process from the first project, as it seems likely that something in the process is creating the release of the second project, and setting the release version to match (e.g. by using #{Octopus.Release.Version} or something else we can’t spot at the moment).