I'm trying to trigger a bamboo build with overridden plan variables through the REST API.
As documented in http://docs.atlassian.com/atlassian-bamboo/REST/3.3-SNAPSHOT/ , I tried to do a POST to:
Where the plan variables I want to override are moduleName and moduleRevision. The build does get started, however the bamboo logs report that the variables were substitued with the empty string (or the default value when I set one):
24-Oct-2011 13:39:19 |
Substituting variable: ${bamboo.moduleName} with
|
24-Oct-2011 13:39:19 |
Substituting variable: ${bamboo.moduleRevision} with
|
I also tried:
* Sending the variables as post parameters
* Dropping the bamboo. prefix
to no avail.
This was working at some point in the past (since I sound happy here: https://answers.atlassian.com/questions/1023/), but I can't get it to work now. It's possible that bamboo was upgraded since then. The current version is 3.2.2 build 2602.
Community moderators have prevented the ability to post new answers.
Try it with bamboo.variable prefix:
http://bamboo.dev.intra/rest/api/latest/queue/LEAN-WEBRPM?bamboo.variable.moduleName=recom&bamboo.variable.moduleRevision=123
And you have to POST that.
The variables will be available to your scripts without the bamboo.variable prefix.
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.