Working example for Bamboo CLI-Plugin?

I'm trying to use the CLI-Plugin for Bamboo, using the examples as seen here https://bobswift.atlassian.net/wiki/display/BCLI/Examplesbut can't get it to work. When I run the job, I get the following error:

simple	08-Apr-2014 14:54:41	Requested action: bamboo --action queueBuild --build "BAC-MDMAS"  --wait 
simple	08-Apr-2014 14:54:41	Action exit code: PARAMETER_PROBLEM
simple	08-Apr-2014 14:54:41	Action output: 
simple	08-Apr-2014 14:54:41	
simple	08-Apr-2014 14:54:41	Error: Unexpected argument: bamboo
simple	08-Apr-2014 14:54:41	Error: Parameter 'server' is required.
simple	08-Apr-2014 14:54:41	Error: Parameter 'password' is required.

Are there some examples somewhere, that actually show me how to use the plugin in a way that works?

1 answer

1 accepted

This widget could not be displayed.

The examples referenced assume that you are running from a command line and have customized the bamboo script to include your server and credentials so you do not need to repeat them all the time. See the instructions at the top of the page for links on how to do that for command line support. Alternatively or when used as part of a CLI plugin script: add the server, user, and password parameters appropriate for your installation. BCLIP-15 is an improvement request when using this in the plugin to provide a way to reference configured settings to avoid repeating the same information for each use.

And is there a way to have more than one command in a single CLI-Plugin task?

Is there a way to add the server, user and password in a way, that it doesn't have to be added for every command, when using a CLI plugin inline-script?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you