Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Plan variables passed to the queue service get ignored

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:

http://bamboo.dev.intra/rest/api/latest/queue/LEAN-WEBRPM?bamboo.moduleName=recom&bamboo.moduleRevision=123

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.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 24, 2011

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.

Saved once again. Thanks!

TAGS
AUG Leaders

Atlassian Community Events