Hello,
we currently have this setup:
Project A is a module for Project B. Project B is the complete application bundled with all relevant modules. We build various versions of the application project B with different modules (parents). Each version of the application is its own build. Language/Environment is PHP/JavaScript.
What we'd like to achieve:
Happy for any input on how to solve this. Alternative approaches to organize the build process are welcome too.
Thanks in advance :)
You could try working with the bamboo.dependency.parent.# variables to extract the information. See https://confluence.atlassian.com/display/BAMBOO/Bamboo+variablesfor documentation on that.
You would likely have to script something with rest from the child to get that.
For example this:
.../rest/api/latest/result/PRJ-PLAN-BLD.json?expand=jiraIssues or
../rest/api/latest/result/${bamboo.buildResultKey}.json?expand=jiraIssues maybe?
to get the individual issues for each build. Again extracting them from all the other stuff that is delivered in that result.
plus adding the .../rest/api/latest/result/${bamboo.dependency.parent.0}.json?expand=jiraIssues should get you what you're looking for. Play with it. See if you can get that to work.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.