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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,670
Community Members
 
Community Events
176
Community Groups

Is it possible to prompt the user for input with Bamboo?

There are a few plans that I will run manually, and the input parameters to my custom executable scripts will be different depending on the type of build I wish to run. Right now I have to actually change 4-5 jobs on a single plan to put the proper input parameters in, I was wondering if there was a way for me to prompt the user whenever a plan was executed to input parameters manually, and those would translate to each of the individual jobs?

Edit: I did figure out about plan variables that I could use, so this makes it slightly better, but I would still prefer a prompt if that is possible.

3 answers

1 accepted

0 votes
Answer accepted

Use "Run Customised" instead of plain "Run" on your plan (available starting with Bamboo 3.1), it will let you override any variables used within your plan.

I see "Run Parameterised" which does it, so I assume Run Customised was probably a different version for the same thing, but that's EXACTLY what i want! Thanks again Przemek!

Brining that up again...

I would also like to require the user input.

In Jenkins a job can have parameters and if you want to run a build, an intermediate screen is diplayed where the user can set / review parameters (with default values filled in).

Is this possible with Bamboo?

I would like to to do this as well. I have manual stages defined for a single plan. Different variables are required depending on stages being run, however devs always forget to enter the necessary values. Anyway to accomplish this?

I need this one too..would be great if anyone discovered anyother workaround here.

We need this feature too.. Is there a workaround?

I know, it's been a while since subject was requested... I'd like to see it implemented as well.

we need this feature as well. 

We need this feature as well.

My requirement is not to build plan. I need a "Run Customised" at deployment plan. 

The use case:

I have 5 non-prod environments to be deployed. Currently I have to set 5 deploy environments, but in fact, for each of them, only one variable is adjusted. (for example, environment=dev)

 

So I'd like to run the deployment with prompt for which environment you want to run with. Furtherly, I can run with different environment setting via curl API Call. 

Hi Bill, did you found a work around for this case ?

Hi Bill,

Did you find anything for this?

Regards

Kishore

Google the solution, I found this https://iuliusathome.blogspot.com/p/custom-deployments-for-bamboo.html

https://marketplace.atlassian.com/apps/1216138/custom-deployments-for-bamboo?hosting=server&tab=overview

I have no chance to test, seems a promise. 

But in our company, we can't install these pay plugins. 

I just added the variable to my job with an empty value, and added to the top of my script the lines

if [ "${bamboo_MY_VAR}" = "" ]; then
echo "You must use \"Run customised...\" --> " \
"\"Override a variable\" and provide a value for MY_VAR."
exit 1
fi

Obviously not a perfect solution, but not bad if you're not in the position to pay for plugins. Hope this helps.

In our case I would like the user to decide, how to proceed in case of specific job output, is there a way to do so?

@Slava Ross, it looks like your case is described at https://jira.atlassian.com/browse/BAM-11257. Vote for it and watch for updates

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events