In Bamboo you can create a child plan that will be automatically invoked when a given plan completes successfully. I want to kick off a performance test plan after a good build of our nightly plan (but I don't want the availability or success/failure of the nightly plan to depend on the performance test plan, so I don't want to add it as a task to the nightly plan).
I see in Bamboo that I can add the performance test plan as a child of the nightly plan, which is great.
But I need the artifacts from the nightly plan when I run the performance test plan, and I can't see in the documentation any way to know what the plan name and build number of the parent plan was once I've started the child plan.
How can I get this information? Thanks!
Quick question - which Bamboo version are you using? 5.0++ ? I'm wondering if you could use 'Deployments' feature (introduced in Bamboo 5.0) and get rid of your second plan. Can you tell me if you considered using Deployments instead of the second, "releasing" plan?
I think that what you are trying to achieve is not implemented yet in Bamboo - please check this issue out: https://jira.atlassian.com/browse/BAM-10573 - if I understand you correctly this is the functionality you're after. If so - can you vote on that issue?
I think the current workaround is to 'wget' the artifact from the different plan by hitting a relevant URL + basic authentication. If you wish I can find you more informations about that technique (although not today) - just chime in.
Thanks Piotr. I did vote on that issue. For now I'm happy to do a wget, that's no problem. In fact I already do that in other situations and it's very easy. But in order to do the wget, I need to know the plan ID and build # of the parent plan. Is there a way to get that information? Without it I don't see how I can use wget for this.
Ah, I see - so you don't want to have a 'hardcoded' solution where you store the parent plan key in the script that calls wget? Instead you want to have some kind of a shared script that could be re-used in each of your 'child' plans in Bamboo? Am I understanding correctly?
(Why do I not get email about answers even though I'm subscribed?? Grr.)
Ideally I would be able to have multiple parent plans run the same child, yes, because the child is a suite of performance validation tests and we have various different build plans we'd like to test.
But, even if we did hardcode the plan ID I still need to get the build number before I can retrieve the artifact, so I still need some information about the parent when the child is running... yes?
Hm... No, I think you don't need the build number - instead you can use "latest"/"latestSuccessful" redirect, like explained in https://answers.atlassian.com/questions/134830/direct-link-to-bamboo-project-plan-s-last-success-build-s-artifact-files - can you briefly check the linked question and tell me if it is in any way helpful to your situation?
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot