youngmon/atlassian-qna huggingface dataset:
Good day I am very much interested in exporting bamboo from Jamaica but I'm unsure of the procedure. How do i go about doing this. Your assistance would be greatly appreciated.
Asked by Anthony Dacosta:

bamboo export and import


Answers:
author: pkelcey
body: Hi Anthony,

Atlassian make software products and Bamboo is the name of one of our products. See <https://www.atlassian.com/software/bamboo>

I think you have confused this with the plant of the same name.

Kind regards,

Paul Kelcey  
Bamboo Development Manager

comments: author: Justin Justin
body: Very funny; the original question that is! :)


Tags: export

import
Grails Clover plugin - Bamboo looks in wrong directory for Clover results
Asked by Will Dampney:

Using plugin clover:4.0.2 with Grails 2.3.7, Bamboo 5.3

When clover is enabled (i.e. `A``utomatically integrate Clover into this build`), Bamboo looks to `target\site\clover` while the plugin writes the report to `target\clover`.

Setting the configuration option in BuildConfig.groovy `reportdir` seems to have no effect:

```
// Clover plugin configurationclover {    on = true    reportdir = "target/site/clover"  // Because Bamboo looks here, and default is target/clover    directories = ['src/java', 'src/groovy', 'test/unit', 'test/integration', 'grails-app']    includes = ['**/*.groovy', '**/*.java']    excludes = ['**/conf/**', '**/plugins/**', '**/migrations/**']    json = true    title = "${appName} ${appVersion} (Grails ${grailsVersion})"}
```

How do I make them both use the same directory?


Answers:
author: Will Dampney
body: It appears that the automatic configuration overrides the `reportdir` I set, and reverts to the default `target\clover`. I suppose this is intended behaviour, but the grails plugin should be pointing to the same report directory by default.

Setting the build to Clover is already integrated into this build... and modifying the XML location works, ensuring that the `on option is set to 'true'`. Simplified config now looks like:

```
clover {    on = true    includes = ['**/*.groovy', '**/*.java']    excludes = ['**/conf/**', '**/plugins/**', '**/migrations/**']    json = true    title = "${appName} ${appVersion} (Grails ${grailsVersion})"}
```


Tags: bamboo-administration

grails
No Ehcache configuration found on agent spawn
Asked by Tim Coulson:

Hi,

When our instance of Bamboo is spawning agents, it somewhat randomly throws the following fatal warning:

net.sf.ehcache.config.ConfigurationFactory parseConfiguration

WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:[file:/tmp/job/classpath/ehcache-1.6.0-atlassian-3.jar!/ehcache-failsafe.xml](http://file/work/ricche01/bamboo/PJ00418/45071671/classpath/ehcache-1.6.0-atlassian-3.jar!/ehcache-failsafe.xml)Where is it obtaining this ehcache.xml configuration from and how can we ensure that it always gets it?

Regards,

Tim


Answers:
author: Tim Coulson
body: Yes, it gives the WARNING and then exits with status code 43.

Ok, I'll accept the answer if we no longer see this after upgrade. Thanks.


author: Przemek Bruski
body: Fatal warning - do you mean the agent doesn't work?

In general, that exception should not cause problems. We've changed the way we use ehcache in Bamboo 5.8, so you should not see this problem anymore once you upgrade.


Tags: bamboo-administration
Bamboo
Asked by Pradeep Kumar:

Hi Deric,

I can see "cdpipeline-1.0.815268" is installed on bamboo under "User-insatlled" add-ons plugins. Currently that is disabled . Do we need to enable it?

Thanks

Pradeep


Answers:
author: rsperafico
body: Hello Pradeep,

Thank you for your question.

The add-on you have mentioned is [Pipeline](https://marketplace.atlassian.com/plugins/com.cobalt.cdpipeline.cdpipeline) and it is developed and supported by [CDK Global](https://marketplace.atlassian.com/vendors/1211496). Please notice it is a third-party plugin which is not shipped with Bamboo.

It is entirely up to you enabling or disabling third-party plugins.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support
How to execute selenium scripts on Bamboo Server in headless browser
Asked by Sameswar Khuntia:

Hi ,

I have integrated cucumber and selenium webdriver for automation test of a web application.

I just want know how to execute my selenium webdriver scripts on bamboo headless server.

Thank you ,

Sam


Answers:
author: Boris Berenberg
body: I think that this is more about your server config and selenium config, not a Bamboo issue. Take a look at articles like: <http://www.installationpage.com/selenium/how-to-run-selenium-headless-firefox-in-ubuntu/> and <http://elementalselenium.com/tips/38-headless>

comments: author: Sameswar Khuntia
body: @Boris Berenberg ..Thank you for your reply ..I will try do a setup as suggested and will get back to you i f face any problem.
Where can I find the Bamboo EC2 AMI?
Asked by Silvio Rainoldi:

Where???

In "Manage elastic image configurations" I can create a new one, which asks for an AMI ID; I want to use the default Linux image and I can't find one.


Answers:
author: Silvio Rainoldi
body: I can find them only by configuring Bamboo EC2 to US East (Northern Virginia).


author: cbenard1
body: Hi Silvio,

You're right, currently Bamboo stock AMIs are only available in US-East region. We have an open feature request to move them to every region: <https://jira.atlassian.com/browse/BAM-13746>  

Additionally if you save the AMI from within your Amazon Web Console you can transfer it to any region you like from there.

<br />

Thanks!

<br />

Turner


Tags: cloud
How can I use the release versioning configuration for a branch?
Asked by David Weiner:

When the plan runs and the release is generated, the release versioning pattern specified in the linked deployment plan is used and the variable substitution takes place. However, when running a branch, simple versioning is used, defaulting to the name of the plan and the build number. How can I use the release versioning pattern from the deployment plan with a branch?


Answers:
author: rsperafico
body: Hello David,

Thank you for your question.

Could you please inform what is the current Bamboo version you are running on, please?

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


author: rsperafico
body: Hello David,

Thank you for the information provided.

There is an entry in our bug tracking related to the issue raised:

<https://jira.atlassian.com/browse/BAM-14891>

If you also agree, I would suggest adding any comments to the issue above as well as [voting](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) on the issue to create its popularity and likelihood of being fixed in a future release.

Please see the document below for more information on Atlassian's bug fixing policy:

* [Atlassian Bug Fixing Policy](http://confluence.atlassian.com/display/Support/Atlassian+Bug+Fixing+Policy)

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


author: David Weiner
body: Currently running 5.6.2, considering an upgrade to 5.7.2 if it will help.
How can I integrate bamboo CI results with BitBucket PRs?
Asked by gil box:

Looking for similar functionality to GitHub. You can see when tests fail with a red X:Screen Shot 2014-12-23 at 2.12.28 PM.png

And in the PR:

Screen Shot 2014-12-23 at 2.09.58 PM.png

Can I so something similar with Bamboo+Bitbucket?  
[](https://community.atlassian.com/t5/Bamboo-questions/How-can-I-integrate-bamboo-CI-results-with-BitBucket-PRs/qaq-p/14003?attachment-id=369){#link_11693d3a5fbae7}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/437/1/Screen%20Shot%202014-12-23%20at%202.09.58%20PM.png){#display_11693d3a5fbae7_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/How-can-I-integrate-bamboo-CI-results-with-BitBucket-PRs/qaq-p/14003?attachment-id=370){#link_11693d3a5fbae7_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/437/2/Screen%20Shot%202014-12-23%20at%202.12.28%20PM.png){#display_11693d3a5fbae7_2}


Answers:
author: Boris Berenberg
body: I don't know of any way to do this, nor do I see an open feature request. I think that this is a great idea, and recommend you file it at: [https://bitbucket.org/site/master/issues?status=new\&status=open](https://bitbucket.org/site/master/issues?status=new&status=open) for the Bitbucket team to evaluate.

comments: author: gil box
body: Thanks I filed the request.<https://bitbucket.org/site/master/issue/10804/integrate-bamboo-ci-test-results-with>


Tags: cloud
How to configure a Docker Agent on Bamboo OnDemand?
Asked by Cesar Salazar:

I saw that Bamboo 5.7 has support for Docker. Is that feature available for Bamboo OnDemand? If not, when will it be?


Answers:
author: Felipevsw
body: Hi, Cezar!

We now have the Docker capability on our Ubuntu and Amazon Linux AMIs! More information on how to use it can be found on this documentation: <https://confluence.atlassian.com/display/BAMBOOCLOUD/Configuring+the+Docker+task+in+Bamboo>

Cheers

Felipe


author: William Zanchet [Atlassian]
body: Hey Cesar,  

The Docker stuff is only for remote agents, which aren't allowed in OD currently. I believe that it won't be available because you can't use remote agent as described here: <https://confluence.atlassian.com/display/Cloud/Restricted+Functions+in+Cloud+Applications#RestrictedFunctionsinCloudApplications-Bamboo>  

Cheers,  
WZ


Tags: cloud

docker
After upgrading from 5.3 to 5.7, repository polling and plan scheduling no longer kick off build plans
Asked by rachel cornett:

The upgrade has been in place for about 1 day, during which, no scheduled builds have ran and there has been many commits to subversion repositories which have polling plans in bamboo that also did not kick off.


Answers:
author: Felipe Kraemer
body: Hi Rachel,

I am wondering if you're facing a known bug:

<https://jira.atlassian.com/browse/BAM-15208>

Can you please try to:

* Use [SVN Export](https://confluence.atlassian.com/display/BAMBOO/Subversion "Follow link")?
* Set the working copy format to 1.6 if it's higher than that? In order to do that, please downgrade Subversion to 1.6 and delete all of the working copies on your server so that they do a fresh checkout going forward.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


author: Radek Antoniuk
body: Hi Rachel,Can you check the logs for any ERRORs during Bamboo startup/restart?Do you see any errors in the current Bamboo logs?Cheers,Radek


Tags: bamboo-administration
Why the Bamboo $PATH variable is different
Asked by homeniuk:

Hi,

I would like to know why the command echo $PATH is different in terminal and Bamboo CLI Task. In Terminal looks like

```
bamboo@vagrant-ubuntu-trusty-64:~$ echo $PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/bamboo/.rvm/bin
```

and within the task like this

```
22-Dec-2014 10:48:14Starting task 'echo $PATH' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'22-Dec-2014 10:48:14/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games22-Dec-2014 10:48:14Finished task 'echo $PATH' with result: Success
```

Any idea why this both commands return different results?


Answers:
author: Mike Friedrich
body: Paths are derived from parent processes and if there is none from the users and the global profile (Linux service). So basically the path depends on how a process is started.

comments: author: homeniuk
body: Hi @Mike Friedrich,thanks for your answer! The solution of my problem was the following line in the startup script in /etc/init.d./bin/su -m $USER -c "cd $BASE/logs \&\& $BASE/bin/startup.sh \&\> /dev/null"I replace the -m argument with an normal hyphen (-), so the bamboo start with login shell of the bamboo user/bin/su - $USER -c "cd $BASE/logs \&\& $BASE/bin/startup.sh \&\> /dev/null"


author: Mike Friedrich
body: I would always prefer the single dash way, also for security reasons. Make sure there is no variable in the init script which the startup.sh needs.


author: Paul Fink
body: I agree with MIke. You could set the PATH in startup.sh that way its not dependent on the interactive login account.


Tags: bamboo-administration
Bamboo Installation Issue
Asked by sreenisha:

Hi,

I am unable to install Bamboo trial version. I am following the below given steps:

[1. Check supported platforms](#InstallingBambooonWindows-1.Checksupportedplatforms)

[2. Check your version of Java](#InstallingBambooonWindows-2.CheckyourversionofJava)

[3. Check that Windows can find Java](#InstallingBambooonWindows-3.CheckthatWindowscanfindJava)

[4. Check permissions](#InstallingBambooonWindows-4.Checkpermissions)

[5. Download Bamboo](#InstallingBambooonWindows-5.DownloadBamboo)

[6. Start Bamboo!](#InstallingBambooonWindows-6.StartBamboo!)

[7. Configure Bamboo](#InstallingBambooonWindows-7.ConfigureBamboo)

[8. Running Bamboo as a service](#InstallingBambooonWindows-8.RunningBambooasaservice)

In step 6 on executing the command "`bin\start-bamboo.bat`" getting the below response

---------------------------------------------------------------------------------------------------

PS D:\\Sreenisha\\BambooDest\\Bamboo\> bin\\start-bamboo.bat

To run Bamboo in the foreground, start the server with start-bamboo.bat /fg

Bamboo Standalone Edition Version : 5.7.2

---------------------------------------------------------------------------------------------------

post that, while launching the bamboo server from IE i am getting error saying "Internet Explorer cannot display the webpage"

Please Help...


Answers:
author: Krystian Brazulewicz
body: Sreenisha

Please contact [Bamboo Support](https://support.atlassian.com/servicedesk/customer/portal/10)and attach logs that can be found in BAMBOO_HOME/logs to your issue report.


author: rrudnicki
body: Hi Sreenisha,

Some reasons for you cannot start Bamboo might be:

1 - There's a firewall or an antivirus dropping the connections

2 - You don't have permission to install Bamboo. Could you try to run the start-bamboo.bat **as Administrator**?

3 - Can you check if do you have any other service running on port 8085. You can check it running:

netstat -anb -p tcp \|findstr 8085

Please, have a look on this link to make sure that all parameters are correct:

<https://confluence.atlassian.com/display/BAMBOO/Configuring+Bamboo+on+start-up#ConfiguringBambooonstart-up-Windows(startingfrom.batfile)>

Hope this help.

Regards,

Renato Rudnicki
Automatically clean old detached EBS volumes
Asked by Jensen Somers:

I have the following setup using Bamboo OnDemand:

* An AMI containing everything I need to perform builds, derived from the Windows: EBS x86_64 (windows) (stock image).
* An Elastic Instance Configuration which terminates all elastic instances at 8 PM.
* An Elastic Instance Configuration which increases the number of elastic instances to 1 at 7 AM.

I start and stop the elastic instance created from my AMI in order to save costs on my Amazon bill. This works nicely, apart from the fact that old EBS volumes are not automatically removed.

Every week I now have a recurring manual task which requires me to log in to the Bamboo configuration panel, navigate to the disconnected instances and click the "Delete all" link at the right top side of the page to clean up those old EBS volumes.

If an elastic instance is terminated, I have no longer any need for the attached volume. Everything is contained within my AMI and I want to make sure I start from a fresh copy.

How can I automate this? I could not seem to find a setting which removes the old volume after the instance has been terminated. Should this be configured on the Amazon side, or on the Bamboo side?


Answers:
author: rrudnicki
body: Hi Jensen,

I believe we have two reasons for this behaviour:

1 - Probably when an elastic instance is created, it get checked "DeleteOnTermination" is false. If so, it might be the reason. You can have more details checking this link: <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination>

2 - If everything is fine, maybe you might facing a bug. In this case, I advice you to open a ticket with amazon.

However, a workaround you could do in the meantime to avoid manual work is create a script to automatise the EBS' deletions. For it, you need to install AWS API. You can get details on this link: <https://aws.amazon.com/developertools/351>

On this link you will find all EBS' commands: <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-api-cli-overview.html>

And this another one you will find some examples about to delete the EBS: <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html>

For more commands related to AWS CLI, please have a look on this link: <http://aws.amazon.com/cli/>

I hope it helps :).

Regards,

Renato Rudnicki

comments: author: Jensen Somers
body: From what I can gather, the shutdown behavior is set to "terminate", which I believe is correct. There's also no termination protection enabled. The instance itself is correctly terminated, and disappears from the instance list. It's just the volumes that stay.I will try to manually terminate the instance tonight, and see what happens. That should help determine on who's end the potential bug may be.


author: Jensen Somers
body: OK, so the "DeleteOnTermination" flag is set to "False". I'll see during the course of the weekend if I can change this for my image.


author: Przemek Bruski
body: How is the EBS volume getting attached? Bamboo does it? Is it the root volume you're talking about or an external EBS?
move plan to another project
Asked by James Youngman:

I am using Bamboo 5.7.1 . When I move a plan from project X to project Y does all the build data (build number, build logs, and artifacts) move to project Y?

Thanks


Answers:
author: rsperafico
body: Hello James,

Thank you for your question.

Basically, what you will be doing is change the plan's location from one project to another and Moving a plan does not affect the plan's [configuration](https://confluence.atlassian.com/display/BAMBOO/Configuring+plans), nor any [comments](https://confluence.atlassian.com/display/BAMBOO/Working+with+comments) or [labels](https://confluence.atlassian.com/display/BAMBOO/Configuring+automatic+labelling+of+job+build+results) that have been applied to job build results within the plan. Build number, build logs and artifacts will be copied across as well.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
Bamboo Cloud: How do I get unlimited strength encryption in my JDK?
Asked by Gary Pezza:

I would like to use one of the AMI's provided to use 128b AES encryption in my unit tests. To achieve this, I need to install the JCE Unlimited strength policy jars into $JAVA_HOME/lib/security. Is there anyway to do this in Bamboo?

Thanks,

Gary


Answers:
author: Przemek Bruski
body: Put the jar somewhere you can download it from (or on an EBS). Use the instance setup script (in image configuration) to copy the file where you want it. The script runs with root rights, you'll be able to do it.

comments: author: Gary Pezza
body: Perfect, thanks a lot!


Tags: cloud
Export a build result summary
Asked by Therese Liebermann:

I was wondering if there was a way to export a build summary report directly from Bamboo. Specifically, when a build is done at the end of a sprint is there a way to get a report saying what went into that sprint? Or would this be better generated from JIRA?

Thanks in advance!


Answers:
author: Krystian Brazulewicz
body: Therese

As usual the answer is "it depends on what are you looking for". Build summary will list only commits and JIRA issue keys that were included in this build. There's no information if any of those issues were actually completed. Build summary will also not let you aggregate changes between historical builds.

You might however wanna take a look at Deployments part of Bamboo. If you conclude your sprint with a new deployment then you can compare it to any previous deployment and see an aggregated list of commits/JIRA issue keys.

I think however that JIRA itself or with a help from Bamboo plugin for JIRA can provide more valuable information.


author: rsperafico
body: Hello Therese,

Thank you for your question.

*... wondering if there was a way to export a build summary report directly from Bamboo....*

Please, refer to [Bamboo REST API](https://docs.atlassian.com/bamboo/REST/) and [Bamboo REST Resources](https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources) documentation for further information.

*...at the end of a sprint is there a way to get a report saying what went into that sprint...*

Please, refer to [JIRA REST API](https://docs.atlassian.com/jira/REST/) documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support
Bamboo: Can I prevent deployment of a plan branch on an environment?
Asked by Jason Corns:

I have configured Plan Branches for certain projects - easiest thing ever and shows a **lot** of potential. However, I am not ready to allow feature branches to be deployed to production - in fact, I'd prefer if Plan Branches are only deployed to our Testing environment.

Is there a way to control this? As you can see from the screen caps, it is equally easy to create a new build when deploying to my QA environment as my Stage environment.

I haven't seen any branch selector, or configuration, that would limit branch deployment per env.

Currently using Bamboo 5.3/4101.

Thanks for your help!

Screen Shot 2014-12-18 at 1.14.11 PM.png Screen Shot 2014-12-18 at 1.15.06 PM.png  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Can-I-prevent-deployment-of-a-plan-branch-on-an/qaq-p/215640?attachment-id=5946){#link_11693e6099cbb9}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/6893/1/Screen%20Shot%202014-12-18%20at%201.14.11%20PM.png){#display_11693e6099cbb9_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Can-I-prevent-deployment-of-a-plan-branch-on-an/qaq-p/215640?attachment-id=5947){#link_11693e6099cbb9_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/6893/2/Screen%20Shot%202014-12-18%20at%201.15.06%20PM.png){#display_11693e6099cbb9_2}


Answers:
author: Matthew Wallace
body: I thought about this a bit more and figured out a solution. I added a script task as the first step in my deployment job. The script looks like this:

BRANCH_NAME=$1  
if \[ "$BRANCH_NAME" != master \]; then  
echo "Cannot deploy non-master branch to production!"  
exit 127  
fi

I did this as an inline script and then in the arguments section I passed ${bamboo.planRepository.branch}.

This will cause the deployment job to fail if you try to deploy any branch other than master. Obviously it would be nicer if it just wasn't a choice, but this gets the job done.


author: Matthew Wallace
body: I'd like this feature too. Can anyone comment that it's definitely not doable with the current Bamboo and I'll put in an enhancement request?


Tags: automation

bamboo-administration

branch