Our project uses a 3rd party SDK which is kept on the build agent. I store the path to this in a capability on the agent. So I have FLEX_4.5 as one capability and FLEX_4.6 as another capability. Currently I am passing these to ant in the task configuration. However, we have one branch that uses 4.5 and one branch that uses 4.6. How can I configure Bamboo so that I can do a branch build using the older SDK? I tried setting a plan variable based off the agent capability but that didn't work.
How are you passing them to the ant task? (i.e. command arguments?)
I am thinking a hacky approach would be to checkin a properties file in each branch that denotes the version of flex it wants.
and then you can use the https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin plugin to set that as a variable, which can be used in the ant configuration.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot