For a build plan on the master branch, the build plan name is a combination of the Project Key and the Build Plan, resulting in something like PROJECT-PLAN.
But for a branched plan, the build plan is named (by default) PROJECT-PLAN0 (further branches using 1,2 etc.). Since the artifact directory created by the Bamboo server is named using this, it means that identifying the correct one for the branch build - especially where there are multiple branches, is prone to error.
Is there a way to change the key for a branch "BRANCH" to, say, PROJECT-PLAN-BRANCH, or some other form that relates more obviously to the branch name?
I don't think it is possible.
Regarding your suggestion: one of the problems is that the 3-part keys represent different things (already in use):
Hi Krystian, We have a hundred or so build plans with many more to come as we continue the migration of our large software estate from SourceSafe & CruiseControl to Stash & Bamboo. We have several hundred applications that will eventually all be stored in Stash/Git, with many of them being built by Bamboo. We are in the early stages of investigating Bamboo for deployment, but even when we start to use it (many months away I expect, and then only into testing) I expect that the majority of deliveries into test and release will follow a semi-automated process separate from Bamboo which picks up some or all of the artifacts produced by a build plan, depending on need, perhaps adds other files to them, and creates a release candidate directory in a Git repo that is used for distribution to the test team and beyond. The first point was that we had to make the Bamboo Plan keys - which are used to name the artifact directories - quite long and verbose because with so many applications it was very tricky and prone to error to use abbreviated forms. Whether that is good practice or not remains to be seen, since I expect the key is used internally as a database key, but that's the way it is. In fact the Plan key tends to match the application name (in uppercase without dots) , and could be, for example, "UK-SCHEMETARIFFREFRESH". The artifact directory created on the server is shared out for others to access if they so desire. The problem now as we start to use branches is, to continue the example above, alongside the directory UK-SCHEMETARIFFREFRESH there will be a UK-SCHEMETARIFFREFRESH0. Ok, if there is only one branch then it's clear that the basic NAME is master and that NAME0 is the branch, but as we add more branches producing NAME1, NAME2, etc, this breaks down and there is a risk that the wrong branch's artifacts will be taken. So it is the lack of visible association between the directory name and the branch name that I am regretting. Yes I know that you can find the correct directory in a number of ways, such as looking at the URL in Bamboo or by following a link in a build completion email, but at a glance it is not obvious. Browsing the artifact directory in Bamboo is pretty useless IMHO. So having the branch name included in the artifact directory name would be helpful; perhaps even being able to define the artifact directory name on the build plan instead of having it hard-wired as ProjectKey-BuildPlanKey combination Regards, John
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs