youngmon/atlassian-qna huggingface dataset:
Can I upgrade workspaces
Asked by Carrie Shiomos:

I have two workspaces, and I would like to upgrade each one individually with two different payment sources. Can I do this?


Answers:
author: Pramodh M
body: [@Carrie Shiomos](/t5/user/viewprofilepage/user-id/5017767)

Welcome to the community ?

Yes Billing is at workspace level, and you can do it via different payment process

I would suggest you route it through an Atlassian Partner as Partners can provide you with discounted prices.

Let me know if you are interested. If yes you can drop a mail to pramodhm@devtools.in

<https://support.atlassian.com/trello/docs/how-billing-works-with-trello-premium-and-standard/>

Thanks,

Pramodh


Tags: upgrade
Is it possible to schedule a stage within a plan in Bamboo?
Asked by Heather Wells:

I would like to schedule the Deploy stage in my plan to run nightly instead of running automatically after the previous step or running manually. Is this possible?


Answers:
author: Przemek Bruski
body: You can't do it in Bamboo. What you can do is have an external script trigger continuation of that build using [the following REST API](http://docs.atlassian.com/bamboo/latest/com/atlassian/bamboo/plugins/rest/resource/QueueResource.html#continueBuild(java.lang.String,%20java.lang.String,%20java.lang.Integer,%20java.lang.String,%20boolean,%20javax.ws.rs.core.UriInfo,%20com.atlassian.plugins.rest.common.security.AuthenticationContext)). Have a look a [REST tutorial](https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+APIs).


author: James McShane
body: I just wanted to show people exactly what I did to implement this within the Bamboo rest API. I used groovy rest and then created a cron job to kick off the script. I hope this helps someone in the future:

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1')

import [groovyx.net](http://groovyx.net).http.RESTClient

import groovy.xml.XmlUtil

import static [groovyx.net](http://groovyx.net).http.ContentType.JSON

def client = new RESTClient ('[https://myhost:8000/bamboo/](https://code.verisk.com/bamboo/)')

client.defaultRequestHeaders.'Authorization' = 'Basic \<base-64 encoded username:password\>'

//I needed to use this because I was having certificate issues

client.ignoreSSLIssues()

def response = client.get (

path : "rest/api/latest/result/\<project key\>-\<plan key\>",

query : \[

'os_authType' : "basic", 'buildstate': "Successful", 'max-results' : "1"

\],

)

def buildNumber = response.getData().results.result\[0\].@number

def kickoff = client.put (

path : "rest/api/latest/queue/\<project-key\>-\<plan-key\>-" + buildNumber,

body : \[

'os_authType' : "basic", 'stage' : "\<stage-name\>"

\],

requestContentType : JSON

)
How can we configure Bamboo Cobertura Plugin in Atlassion On Demand
Asked by Mathon Gijsbers van Wijk:

How can we configure Bamboo Cobertura Plugin in Atlassion On Demand  
[](https://studio.plugins.atlassian.com/wiki/display/CBRT/Bamboo+Cobertura+Plugin)


Answers:
author: JohnA
body: Hi Mathon,

I'm sorry to inform you that our [Atlassian OnDemand Plugin Policy](http://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy) states that the installation of plugins is not supported on the OnDemand platform, so it isn't possible to install any plugins into instances on the OnDemand platform unless they are bundled by our developers. However, you can create feature requests for new functionality, such as the bundling of specific plugins, on our [OnDemand issue tracking JIRA](https://studio.atlassian.com/), (make sure you add requests in the "Atlassian OnDemand" project), so I would suggest you add a feature request for the plugin you require there.

All the best,

John


Tags: cloud
How can we configure Checkstyle Plugin in Atlassion On Demand
Asked by Mathon Gijsbers van Wijk:

How can we configure Checkstyle Plugin in Atlassion On Demand


Answers:
author: kdambekalns
body: "In the new year" would have been 2012. Now 2013 is halfway through. Any news?


author: salcosand
body: Is ther any chance checkstyle will be supported in the ondemand version in nearer furture?


author: James Dumay
body: Unfortunately, Checkstyle is currently not available on Bamboo OnDemand. We will be updating Bamboo OnDemand in the new year and we will be looking at what plugins to support then.

comments: author: kdambekalns
body: "In the new year" would have been 2012. Now 2013 is halfway through. Any news?


Tags: cloud
Bamboo remote agent behind proxy http
Asked by Yoann Galland:

Hi,

We are trying to run a bamboo remote agent behind an http proxy without success.

We try to add the both parameters to java : Dhttp.proxyHost and Dhttp.proxyPort

but bamboo doesn't seen to take in account those ones.

If we run the remote agent in a local machine which doesn't need proxy, the remote agent work well.

Does someone have a solution for our problem?


Answers:
author: Przemek Bruski
body: Proxying remote agents is currently unsupported. A feature request for this [is available here](https://jira.atlassian.com/browse/BAM-8418). Currently, the only solution is to set up a reverse proxy for the agent.


author: Przemek Bruski
body: Try adding the options to bamboo-agent-home/conf/wrapper.conf as

wrapper.java.additional.3 and wrapper.java.additional.4

Which Bamboo version do you have?

comments: author: Yoann Galland
body: I try to add to http proxy paramters inside wrapper.conf but that changed nothing ...

We used the version 3.3.3 of bamboo


author: Przemek Bruski
body: Can you see the -D arguments beingpassed to the java process (e.g. using ps -ef) ?

What's shown in the agent log file?


Tags: proxy
Test scripts run in non-GUI mode on 64-bit bamboo remote agent
Asked by Paresh Patel:

Hi Atlassian Bamboo Support,

We use Bamboo for Continuous Integration purpose. For testing the GUI of a business application, we have a tool called HP QuickTest Professional (QTP) whose tests run after the application code is built using Bamboo.

To run these QTP tests, we use a batch (.bat) file which starts QTP and runs the tests on a web application through IE (Internet Explorer).

Issue:

When triggered through a bamboo-client, the batch file runs. However, the GUIs of QTP and the business Application Under Test (AUT), i.e. IE are not visible on the screen. Hence, QTP tests cannot identify the AUT GUI objects, resulting in failures.

Surprisingly, same QTP tests run well when I manually run the same batch file by connecting to the same Remote Agent (using a remote connection tool - Microsoft Remote Desktop Connection)

This issue appears to arise only with a 64 - bit Remote Agent. We have found that it works well with 32-bit Remote Agents.

You can find more details related to agent machine, and build plan below. Kindly suggest a suitable solution for the same.


Answers:
author: Przemek Bruski
body: Have you enabled autologin, like I suggested in [https://answers.atlassian.com/questions/25891/bamboo-does-not-open-application-gui-on-64-bit-machine](/questions/25891/bamboo-does-not-open-application-gui-on-64-bit-machine) ?
Need steps to generate new Server ID for an existing Bamboo instance
Asked by David Corley:

We're just after purchasing our second Bamboo instance, and want to link it to our Jira instance.

However, because the second Bamboo instance was setup as a clone of the original Bamboo instance, both instances share the same Server ID.

Due to <https://studio.atlassian.com/browse/APL-629> , we cannot link Jira to both instances at the same time because they both have the same Server ID.

I need to generate a new Server ID for the new Bamboo instance, but I don't know how to go about it.

I'd like a set of steps for generating a new Server ID, and then configuring the second Bamboo instance with the new server ID.


Answers:
author: Renan Battaglin
body: Hi David,

I've run run tests locally and was able to obtain a new Server ID. You just need to trigger a new Bamboo installation so that it can generated a new ID:

1. Shutdown Bamboo and change the Bamboo instance Home-Directory path to a different location (at file webapp/WEB-INF/classes/bamboo-init.properties). Example: /Users/jsmith/Apps/bamboo341-home-new

(keep the existing Home-Dir untouched, as it contains your instance's data)

2. Run Bamboo. When opening <http://localhost:8085> in the browser, Bamboo will show you a new Server ID. Copy it and save it.

3. Shutdown Bamboo. Restore the original Home-Directory path to file "webapp/WEB-INF/classes/bamboo-init.properties".

4. In the original Home-Dir, file bamboo.cfg.xml, replace the old Server ID with the new one.

5. Restart Bamboo. Because of the bug, remove and then create again the AppLinks.

Hope it helps!

Cheers,

Renan
cl : Command line error D8022 when running MSBuild from bamboo 3,4.
Asked by Dariusz Antonczyk:

Hi,

When Running a Task containing MSBuild (ver. 4.0.30319) I'm getting this error:

cl : Command line error D8022: cannot open 'C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Temp\\8d4a40181d6940779ef933a514f5fc5c.rsp'

No problem to compile project from command line.

Any help will be appreciated.

Dariusz.


Answers:
author: KitP
body: Same same. Seeing it with VS2015. I had to create the AppData\\Local\\Temp directory to start...then got to this error.


author: Andrey
body: Seeing the same error message - the files are getting created and deleted before Bamboo is able to read them. Anyone? Bueller?


author: kridan
body: Darius - did you ever resolve this situation? I periodically get exactly the same thing you mention, but I can't figure out why


author: Justin Leader
body: would love help on this!


author: Przemek Bruski
body: Is this a local agent or remote? I assume the user is the same between in your Bamboo build attempt and the command line attempt?

comments: author: Dariusz Antonczyk
body: Hi. local agent, user the same (with admin privilege).
Build can not resolve commons transitive dependencies
Asked by Vladimir Zoric:

Hi,

I'm having throubles. I guess we need a nexus to deploy artifacts and JARs there. Without it server build can not resolve commons transitive dependencies as well.

\[WARNING\] The POM for com.revelive:commons:jar:0.1.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.revelive:commons:0.1.0  
\[ERROR\] 'dependencies.dependency.systemPath' for com.sun.tools:javac:jar must specify an absolute path but is ${project.basedir}/lib/javac-1.7.jar @

Any idea ?

Thank you,

vzoric


Answers:
author: James Dumay
body: Vladimir, this looks like a Maven issue and not a Bamboo one. You can get help with Maven by posting a question on the [Maven Users mailing list](http://maven.apache.org/mail-lists.html).
Instrumneting Unit tests with clover
Asked by Charith Wickramarachchi:

Hi ,

I'm trying to integrate Clover reporting with Bamboo.

For that i followd folowing steps.

1) add \<pluginGroup\>com.atlassian.maven.plugins\</pluginGroup\> to PluginsGroup section of my maven settings.xml

2) Ran the taks with maven task with goles : clean install clover2:setup clover2:aggregate clover2:clover

I can see tests getting executed , clover.xml and site is created but when i open the report it shows as no tests ran during the execution.

```
Test Results   0 / 0 tests 0 secsNo test results could be found. Please ensure that you have instrumented your unit tests correctly.


are there any more configurations that i need to get this to work ? 


thanks,
Charith





```


Answers:
author: Nick
body: Hi Charith,

You need to run clover2:setup before your source code gets compiled.

Try the following:

```
mvn clean clover2:setup test clover:aggregate clover2:clover
```

Cheers,

Nick
Image and e-mail links are broken after chaning the context path
Asked by Charith Wickramarachchi:

Hi ,

I modified the web-app context path of my bamboo instence by changing wrapper.conf And now i m facing an issue were the links in the build emails and some images in the web applications are broken.

The issue is context path change is not applied to them. They are trying to look for resources in the old path.

(when i looked at the css files they reffer to old image urls).

Any tips to fix this issue is highly appriciated..

--Charith


Answers:
author: Przemek Bruski
body: In addition to what Piotr said:

- broken links in emails are caused by wrong baseUrl

- broken links in web app are really caused by [this bug](https://jira.atlassian.com/browse/BAM-10254)

Fortunately, the solution is to change the baseUrl (although in the web app case it's really just a workaround).

comments: author: Charith Wickramarachchi
body: Yes i agree with you. We shoud consider broken link in the webapp as a bug. Thanks .


author: PiotrA
body: Check the "BaseUrl" setting in the Bamboo Administration. Might be related, might be not.

comments: author: Charith Wickramarachchi
body: Thanks man. It did the trick !!! Thanks a lot.


author: Przemek Bruski
body: In addition to what Piotr said:

- broken links in emails are caused by wrong baseUrl

- broken links in web app are really caused by [this bug](https://jira.atlassian.com/browse/BAM-10254)

Fortunately, the solution is to change the baseUrl (although in the web app case it's really just a workaround).
Bind bamboo to specific interface
Asked by Igor Gali?:

Hi folks,

I've been trying to lock down my installation and I'd really like to make Bamboo only bind to 127.0.0.1. Following advises such as: <http://confluence.atlassian.com/display/DISC/mail/172056> I added an*address="127.0.0.1"* in the tomcat installations, and for Bamboo's Jetty I edited webapp/WEB-INF/classes/jetty.xml, uncommenting *\<Set name="Host"\>127.0.0.1\</Set\>*

Interestingly, only Bamboo refuse to do that. Jira, FishEye and Confluence are all running on 127.0.0.1:8xxx

Anybody got any insight on this?


Answers:
author: Przemek Bruski
body: Just making sure: you've followed [this guide](http://confluence.atlassian.com/display/BAMBOO/Getting+Bamboo+to+use+the+jetty.xml+file) first?

Also, not sure if it's an issue for you, but if you bind Bamboo to loopback interface, you will not be able to use remote agents.

You also need to change \<property name="bamboo.jms.broker.uri"\>tcp://0.0.0.0:54663\</property\> to 127.0.0.1 in bamboo.cfg.xml

comments: author: Igor Gali?
body: That's the broker URI and doesn't have much to do with the listener, in fact, that port isn't even open. But I'll take a look at that - I didn't know I have to tell it to use jetty.xml \~_\~

Thanks a bunch!

i
invalid license key for bamboo 2.5
Asked by dmitry dementiev:

Hello.

Today we downloaded bamboo-2.5.war from my.atlassian.com(need this specific version).

Our company has developer license, I enter it - error msg: "The license key you entered was invalid."

Besides we generated for test purposes new evaluation license - the same error as a result.

***Could you pls give me some advice on what should I do?***

Bamboo is installed into tomcat.

Regards,

Dmitry.


Answers:
author: Bruno Rosa
body: After version **5.0.1** Bamboo is no longer released in WAR format. Onward from that version Bamboo only supports the bundled Tomcat version. That said, I don't believe that other users will run into the same problem with this version of Bamboo.

Nevertheless, it is not difficult to see other users facing the same issue, even with the latest versions of Bamboo. So if you are getting the same error message after trying to enter your license key, please ensure that there are no leading or trailing spaces in your paste of the license. This usually happens when copy\&paste inserts some extra characters.
Bamboo does not open application GUI on 64 bit machine.
Asked by Paresh Patel:

I am trying to run some QTP scripts on remote agent which is of 64-bit.

It invokes applications like QTP, and Internet Explorer, but it does not show their window.

i.e. Applications are invoked only in non GUI format.

The same thing works well on 32-bit remote agent.

Am I missing any configurations for 64-bit Remote agent?


Answers:
author: Paresh Patel
body: Hi Przemek,

I ran ***control userpasswords2,***and got 'User Accounts' window.

Howver, I could not find the ***User must enter a user name and password to enter this computer***setting on that window and neither on the properties of the required user.

The machine I am using as Remote Agent is **Microsoft Windows Server 2003 Standard x64 Edition Service Pack 2**


author: Przemek Bruski
body: Does the problem happen if you start the remote agent from an interactive session?

comments: author: Paresh Patel
body: Hi Przemek,  

I am relatively new to Bamboo. Hence not getting the term "Interactive session"!  

What I do is   

1. Open the Bamboo Remote-Agent through Remote Desktop Connection.  

2. And from my machine, log-in to Bamboo-client and trigger the build manually.  

I have been adviced to keep the Remote-Agent desktop open as the tests are exected by QTP and are GUI based.


author: Przemek Bruski
body: > I am relatively new to Bamboo. Hence not getting the term "Interactive session"!

Basically, logging in (directly or RDC) and starting the agent manually.

You can try the following:

1. In a cmd windows type ***"control userpasswords2?*** and press enter.
2. Uncheck ***"User must enter a user name and password to enter this computer"*** and click Apply and OK. Select the user that should run the tests.

If that works, make sure your workstation is compliant with your security policy - I haven't checked this, but you should probably remove the remote login access right to this user and run the agent using **runas**.


Tags: qtp

remote-agent

user-interface
wrapper/start-bamboo start not working
Asked by Panagiotis Kosmidis:

Hello, I try to run Bamboo from wrapper as a service but I get error:

```
root@server:/usr/local/src# /opt/atlassian/Bamboo/wrapper/start-bamboo startStarting Bamboo Continuous Integration Server.../opt/atlassian/Bamboo/wrapper/start-bamboo: line 405: /opt/atlassian/Bamboo/wrapper/wrapper: No such file or directory
```

if I don't run it from wrapper but form bamboo.sh it works:

```
root@server:/usr/local/src# /opt/atlassian/Bamboo/bamboo.sh startStarting Bamboo: STARTED Bamboo Fri Dec 16 23:59:54 GMT 2011Bamboo running, pid=19805
```


Answers:
author: Przemek Bruski
body: Which version of Bamboo is it? Which Linux version and architecture?

Does `/opt/atlassian/Bamboo/wrapper/wrapper`` exist? If so, what does ldd ``/opt/atlassian/Bamboo/wrapper/wrapper`` show?`

comments: author: Panagiotis Kosmidis
body: Hello, it is the latest version of bamboo (installed yesterday), Debian 6 64bit, /opt/atlassian/Bamboo/wrapper/wrapper does not exist the normal path should be /opt/atlassian/Bamboo/wrapper I don't know why it adds an extra wrapper path in the current path...


author: Przemek Bruski
body: I've just downloaded 3.4 from Atlassian's website. The wrapper is located in Bamboo/wrapper/wrapper , like it should. Have you made any alterations to your install?

In any case, the wrapper in Bamboo server install is a 32bit program. If you want to use the wrapper on 64bit, as a workaround, you can take the binaries (program and library) from the Bamboo Agent:

Bamboo/webapp/admin/agent/atlassian-bamboo-agent-installer-3.4.jar unser arch/linux/x86_64

Alternatively, you can use some other means of monitoring the server, like [daemontools](http://packages.debian.org/search?keywords=daemontools)'s 'service' command


author: Panagiotis Kosmidis
body: Hello, I seems I made a big mistake, /opt/atlassian/Bamboo/wrapper/wrapper exists and this is what I get from ldd /opt/atlassian/Bamboo/wrapper/wrapper "not a dynamic executable"


author: Przemek Bruski
body: Doesn't sound all that terrible to me ;-) You still need to follow one of the approaches I've described to get it running.


author: Panagiotis Kosmidis
body: well I will just use bamboo.sh, all the other stuff sounds mor complicated to me, but I think it should support 64bit out of the box and not make the user to bother with it's setup more than it's use...


Tags: wrapper
How can I download the artifacts generated in the "/home/bamboo/bamboo-agent-home/xml-data/build-dir/XXX-JOB1/XXXX/target" location
Asked by Venkat Raman:

I have a multi module project for which actually generates the war file, the project structure is as below

ParentProject

POM.xml

Module 1(generates Jar)

POM.xml (for module 1)

Module2 (generates Jar)

POM.xml ( for module 2)

Module3 (generates war)

POM.xml for module 3

Bamboo build plan runs to completion, but it is not showing the war file in the artifacts. In the artifacts definition I have given path as XXXX/target and pattern as \*/\*.war. Is there a way to download this file.

I am also getting a message "Failed to execute plugin 'Artifact Copier' with error: java.io.IOException: Exception occurred when posting message [com.atlassian.bamboo.v2.build.agent.messages.ArtifactPublishMessage@c2496e](mailto:com.atlassian.bamboo.v2.build.agent.messages.ArtifactPublishMessage@c2496e). Read timed out"

Pleae let me know if i am missng anything. Any help on this is highly appreciated.

Thanks

-Venkat


Answers:
author: AgentSmith
body: The Bamboo Command line Interface add-on contains a **getArtifact** action. Check this posting for more info:

[https://answers.atlassian.com/questions/162058/download-artifacts-from-ondemand-bamboo](/questions/162058/download-artifacts-from-ondemand-bamboo)

Hope this helps!


Tags: cloud
3 bamboo instances in 3 servers
Asked by dhanushka ranasinghe:

Hi guys,  

i just wants clarify few things,

<br />

1) Bamboo is based on server based licen right ? Can't we use same bamboo licen for 3 bamboo instances in 3 servers nodes or do we have to buy 3 separate bamboo licen for each node.  

<br />

Any sort of relay will be highly appriciated

Thank You

Dhanushka


Answers:
author: Przemek Bruski
body: From [Licensing FAQ](http://www.atlassian.com/licensing/bamboo#downloadlicenses-5) :

A Bamboo commercial/academic license entitles you to:

* Deploy a single instance of Bamboo in a production environment on 1 server