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.
I am passing them via command arguments to the ant task. I'll take a look at that plugin, thanks.
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.
flex=4.5
flex=4.6
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am passing them via command arguments to the ant task. I'll take a look at that plugin, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm a little confused as to how this can help me. It doesn't look like it will allow me to access the agent capabilities to get the proper path to the necessary FLEX SDK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.