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 votes

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
Community showcase
Published 7 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

53 views 0 1
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