Are there any howtos or examples for how to use ssh/bash scripts with bamboo ondemand?

I have read a lot of documentation at this point and it is still not clear to me how bamboo ondemand actually works. Does Atlassian provide or recommend someone to provide support for this product?

2 answers

0 vote

Basically, you subsribe to Atlassian's OnDemand service and get access to a Bamboo server.

To build your source code, you have to have an Amazon EC2 account associated with your Bamboo server. Your builds will execute in Amazon cloud, the cost for that can be as low as $0.01 per hour.

If you're new to Bamboo/EC2 in general, it can be scary at first, but after you start using it, most/all of your problems will go away. We really tried to simplify the whole thing :-)

I understand that. I mean a fairly basic question like "I have autogenerated shell scripts that were being dynamically imported into jenkins, how do I replicate this step up with bamboo onDemand?"

You can use Bamboo's Script task pointing to the location of these scripts. It's probably easiest to put them in a VCS somewhere and check them out during build.

I rather it be clear and explicit than simple. I want to be able to inspect a system to determine how it's working.

How do I provide bamboo with the keys to do that? Is there a way to link Bamboo with a bitbucket account? Do you provide example scripts? Can you show me a snippet of shell code that uses the variables that bamboo exposes to the shell? These are basic usage questions that would be easily answered with a basic usage example as opposed to a description of fields on a web form.

Just make the script repository one of the repositories that your plan uses. It can be a Bitbucket repository.

Bamboo variables are exported as bash shell variables. The name is converted to capital casing and all full-stops are converted to underscores. For example, the variable bamboo.my.variable is $BAMBOO_MY_VARIABLE in bash.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,324 views 0 5
Read article

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