youngmon/atlassian-qna huggingface dataset:
Bamboo - Not always displaying changes (commit desriptions) that are included in build
Asked by Lane Summers:

Having a problem of late. Bamboo is not consistently displaying changes (Mercurial commit descriptions) that are included in build. Some builds do display this information while others do not even though the build itself does include commited changes.


Answers:
author: Philip Wiley
body: I am seeing a similar issue. Was there any resolution on this question? Is there a ticket into Atlassian?


author: Lane Summers
body: Have not checked log. I will check.


author: PiotrA
body: Hm... I don't see anything suspicious. Lane, I'll pass on this - it's nothing obvious to me. I'm thinking that you should contact with atlassian support: <http://support.atlassian.com> and ask there for help - I think that this problem will revolve into full time investigation with Bamboo log analyzing and general troubleshooting - something that is beyond the scope of [answers.atlassian.com](http://answers.atlassian.com)...

BTW: have you checked your atlassian-bamboo.log? Maybe there is some clue?


author: Lane Summers
body: I do not see anything off hand. Use this link and you can see the comments in Mercurial and my Configuration page.

<http://www.use.com/supersize.pl?set=195955b9a89ad852b89f>


author: PiotrA
body: Hm... that's odd.

Could it be that you have some filtering enabled for that particular plan/repository? Or maybe the skipped (not displayed) changeset have something common in their commit message?

For example I reckon Bamboo doesn't display "\[maven-release-plugin\]" commits in the build summaries, and also it skips the filtered out changesets (please double check your plan-\>configuration-\>repository-\>advanced configuration - maybe there is a culprit?)  


author: PiotrA
body: Okay... Can you tell what revisions Bamboo was building in the builds #75 and #76? I see that #77 was building revision *9c5b18e*(clearly visible in the second screenshot you attached). What are the revisions of two previous builds reported by Bamboo?


author: Lane Summers
body: 75 - e1eefc9425a0fe72e3789e1a4311d676fdfbe3b9

76 - cd48f17b7e854ad33cb193be70bcd59ec05cb348

77 - 9c5b18ec518ce8b3c21929c4d351be5006638d89

Oddly enough, this used to work consistently. It is only recently that we noticed that it does not work for all builds and it also does not seem to be user or plan specific.


author: Lane Summers
body: Screen shots of with and without the description of changes can be found here:

<http://www.use.com/supersize.pl?set=dfa955197f773b4e566f>


author: PiotrA
body: Hello Lane,

Can you provide more information about the issue? Maybe some screenshot(s) illustrating the problem? I find your description too vague to be helpful...

regards!
Bamboo groups
Asked by Mark Carbonara:

I'm currently using LDAP in bamoo; however when all the users were brought into Bamboo, they were all assinged the default Bamboo-Admin group and there is no way to remove them. Also whenever I create a new Group and assign it to ONE users in Bamboo, that group will automatically get assingned to every single user. Makes no sense to me and this can't be the way version 4.3 is supposed to work.


Answers:
author: ssetayeshfar
body: Hi Mark,

Are you trying to manage LDAP accounts and user groups from Bamboo?

Based on the following document, if you integrate Bamboo with LDAP, you cannot manage LDAP accounts or user groups from Bamboo. This document also includes detailed instructions for this integration and guidelines to map your data and edit your .../{BAMBOO-HOME}/xml-data/configuration/atlassian-user.xml file correctly.

<https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+LDAP>

Hope this helps!

Best,

Sepideh
Moving a complete software factory => impacts on bamboo
Asked by St?phane Genin:

Hi,

We are moving a complete software factory, with JIRA, Bamboo, Confluence, Fisheye, Crowd, SVN, Maven, and Nexus.

I'm in the process of moving Bamboo, and I realize it won't be so simple... The SVN urls change, as well as the names of the servers running the agents (for example).

My plan is to export the current bamboo configuration, and to sed the files to change the old values by the new one.

I can see that some information are used in historical data, or in executions. For example, in the projects.xml file I can see :

\<customBuildData\>  
\<key\>buildKey\</key\>  
\<value\>ADMINTOOLS-SCAVENGEBAMBOOAGENTS-EI1008VWINAGENT2\</value\>  
\</customBuildData\>

Where EI1008VWINAGENT is the name of a server running agents.

Do you think my approach is OK (I mean, a global replace of old values by new ones in the exported files)?

Moreover, what is the impact of including or not the artifacts in the export? It's 30GB large, and the bandwidth is very low so I would like to minimize transfers.

Thanks for your help

St?phane


Answers:
author: Przemek Bruski
body: You can sed the files. If you don't include artifacts, they simply won't be on your new instance. If you don't need them, it should be fine.


Tags: bamboo-administration
bamboo scp upload task for directory
Asked by Moon Choi:

I want to upload a folder to remote server.

But the local directory structure is copied to the server.

For example,

local: target/batch

server : /home/test

result on server : /home/test/target/batch

required : /home/test/batch

I tried target/batch/\*\*/\*.\*, but same thing happened.


Answers:
author: Moon Choi
body: The local path seems fine as the files inside are copied correctyl.

I used ssh task instead to resolve the problem.

comments: author: adammiles
body: @Moon Choi I'm having the same issue, what was your implementation to get it working with ssh task?


author: ssetayeshfar
body: Hi Moon,

Based on this document:

<https://confluence.atlassian.com/display/BAMBOO/Using+the+SCP+task+in+Bamboo>

the local path should be relative to the build directory/working directory of your build. For example, something your build has produced or you have checked into version control. You can find more details on this in the comments sections of the above link.

Hope this helps!

Best,

Sepideh
How to trigger a build in Bamboo if codes are in Stash/Git?
Asked by Zhe Lv:

I'm using Bamboo to do automation build on Win 7. The trigger method is "Repository triggers the build when changes are commited".

If I use a Git server deployed in cygwin with ssh protocol. I can modify "post-receive" to make the trigger work well.

However, Stash does not support cygwin. And stash has its own Git server. Now I can't trigger Bamboo to build if new codes are checked in. Is there a way to make the auto-build happen?


Answers:
author: Sultan Maiyaki
body: Hi Zhe,

This feature is not yet available but we have a skeletal plugin described [here](https://developer.atlassian.com/stash/docs/2.3.0/how-tos/repo-hook-examples/async-post-receive-config.html) that allows you to ping a URL after a push to the stash server.

Sorry that you will have to build the plugin youself which is kind of involving :)


author: Stephan Wentz
body: +1 for Werners answer.

There is a post commit hook for jenkins, but not for bamboo? Indeed, this is unexpected.


author: Werner Van Rensburg
body: We bought Stash since we assumed that staying in the Atlassian family of products would be beneficial.

It's weak that you don't support Stash as a native trigger in Bamboo. Its your products after all!?

Should have rather hosted my code at Github or BitBucket instead.

comments: author: Werner Van Rensburg
body: Followup:

I installed the [External Hooks](https://marketplace.atlassian.com/plugins/com.ngs.stash.externalhooks.external-hooks/versions#b41) plugin and then execute [curl](http://man.cx/curl) on the host to post to bamoo to trigger a plan.

This does not solve the issue of triggering builds for your plan's branch builds though. I'm considering to wrap curl in a script and accordingly fire a post to the relevant URIs depending on the commit. Will post a followup message here if I make progress on this.

Just a pointer for the external hooks plugin, each param should be on a new line.

A template to use:

```
--user&lt;username&gt;:&lt;password&gt;-XPOST-dJOB1&amp;ExecuteAllStageshttps://&lt;bamboo url&gt;/rest/api/latest/queue/&lt;Project&gt;-&lt;Plan&gt;
```


author: gerardje7
body: You can do this by installing the Stash Web Post Hooks Plugin (free and from Atlassian).

On each repository you can then configure this webhook to trigger a build using the REST API of Bamboo.

An example REST url for triggering a build:  
http://bamboo.atlassian.com/bamboo/api/rest/updateAndBuild.action?buildKey=PROJECT-PLAN


Tags: bamboo-administration

bitbucket-server
How to download artifacts from Artifactory
Asked by Raveendran Kumaravelu:

Hi,

Could you suggest few options on how to download artifacts from Artifactory pls?

What I'm trying to achieve is to have a bamboo plan, which accepts few inputs (artifacts details) to search and download artifacts from Artifactory.

I read few article talks about REST API, Maven etc. But I'm not able to find a REST api plugin (assume I need one)

Versions:

Artifactory: 2.6.6

Bamboo: 4.4.5

Thanks in advance.


Answers:
author: Raveendran Kumaravelu
body: Decided to use "wget". Believe this would work as well.


author: Raveendran Kumaravelu
body: Decided to use "wget". Believe this would work as well.


author: Jan Swaelens
body: Hi,

We use [Ivy](http://ant.apache.org/ivy/) and Ant to pull the artifacts in from artifactory - works nice but you are probably looking for a nice plugin to do this in Bamboo - don't think that it exists in thar form.

comments: author: Raveendran Kumaravelu
body: Thanks Jan, Will update, if I find other options as well.
Bamboo and Crowd SSO
Asked by C V:

I set up crowd to manage user directories for jira, confluence, stash, crucible, and bamboo using SSO with \*.domain.com. Everything seems to support SSO except for bamboo; while bamboo synchronises the user directory from crowd, it requires users to log in separately.

How can I troubleshoot this effectively?


Answers:
author: Septa Cahyadiputra
body: Hi there,

Troubleshooting SSO usually not an easy task as there are a couple of things that need to be double check. However, first and foremost it is essential to check that the configuration setup correctly.

* Make sure Bamboo's *crowd.properties*setup correctly
* Make sure Bamboo's authenticator configured in *seraph-config.xml*is disabled and changed to Crowd's SSO authenticator
* Make sure the domain configured correctly and Bamboo accessed using the same domain as other instances
* Make sure that *crowd-integration-client*jar file version used by Bamboo is appropriate (Same as your Crowd version)
* Check whether Bamboo sit behind a different proxy server as the others instances, if this is the case, make sure Bamboo's proxy server is added to Crowd

Those are some of the points that need to be double check to narrow down the root cause of the issue. To further narrow down the issue, feel free to create a ticket to our [support channel](https://support.atlassian.com). We would be more than happy to assist you further there.

Cheers,  
Septa Cahyadiputra


Tags: crowd

sso
Using Bamboo for deployment only?
Asked by Cesar Covarrubias:

We are currently using Anthill to deploy our code to our application servers. The code is not in a format that requires any compilation (html, php, coldfusion, js, etc). We do heavily rely on JIRA and Confluence for our development process, and would like to tie in our deployment method with JIRA.

From people's experience, has it made sense to use Bamboo for deployment only?


Answers:
author: Alan Parkinson [Hindsight Software]
body: Hi Cesar,

We use Bamboo to deploy our website (HTML, CSS and Javascript) to our webserver. In paritcular we use the SCP Task to transfer files to our Linux webserver. There is also a SSH Task if we need to move files around the server or change file permissions.

Cheers,

Alan

comments: author: Thiery Laverdure
body: Hey when you need to deploy updates to your website, do you deploy all of the files or just the updated ones?


author: LucasA
body: Hi Cesar,

Yes, you can make use of Bamboo to perform your deploy actions. Any kind of command line automated task can be done using Bamboo.

Cheers,

Lucas Lima

comments: author: Cesar Covarrubias
body: Lucas, Thank you for the response. I knew it was possible to do so, but I just wanted to get some "real world" experience to see if it is viable.


Tags: bamboo-administration
Bamboo (v5) deployment and manual tasks
Asked by Roman Tarakanov:

Hello,

I'm currently evaluating Bamboo for use in our company.

I've found that addition of "Deployments" to Bamboo should allow us to integrate with our existing tools much easier. However our release process is rather complicated and we have in-house built tool to track it and multiple sign-offs that are required for release.

With current "Tasks" it does not look like I will be able to recreate the process.

So, my question is, are you planning to introduce some concepts similar to "Stages" for Plans. This way manual stages can be created that will act as a sign-off from people (or software).

Or, maybe it is possible with the help of custom tasks? Some sort of tasks that just blocks the deployment until it receives a sign-off signal?

Thanks,

Roman


Answers:
author: Cristiano Mariano
body: Hi guys!

Do you know whether this feature is on Bamboo roadmap?

Thanks,

Cristiano
bamboo: custom fields to provide svn, artifactory, and environment details
Asked by Raveendran Kumaravelu:

Hi, Is it possible to define custom fields to provide svn branch, artifactory release#, and target environment details when creating plan in bamboo for application deployment.

please advise

thanks in advance


Answers:
author: Sultan Maiyaki
body: Hi Ravee,

You are most welcome and happy evaluating Bamboo :).

What you want to acheive is not possible out of the box unless if you will want to extend the specific builder yourself to add a select list. This could be a little bit demanding but I suggest you try adding multiple task for each of the environment or targets. That is the beauty of Bamboo where you can have a job with multiple tasks each doing a specified function.

Regarding the inject plugin, yes that seems to be broken but I have a copy you can download from <https://www.box.com/s/j7w8tdqnjgbzpf4jlsg1>

Regards,

Sultan

comments: author: Raveendran Kumaravelu
body: Thanks again Sultan, for your suggestions


author: Sultan Maiyaki
body: Hi Raveendran,

The svn branch and other properties are access at build time using the <https://confluence.atlassian.com/display/BAMBOO/Using+global,+plan+or+build-specific+variables> which is similar to the concept of customfield in JIRA.

If those variables are not enough for you, you can use the [inject bamboo variable task](https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin) plugin to define custom variables that can be injected and used during build

Hope that answers your question.

Regards,

Sultan

comments: author: Raveendran Kumaravelu
body: Thanks Sultan, Your suggestion really helped me to move ahead.

Could you help me how to achieve below scenarios in bamboo pls

1. Since I was coming from hudson/jenkins background and I"m new to Bamboo...I was trying to define a custom string field with drop down list for...

a. Environments (dev, tst, uat, etc)

b. Target actions (upload, package, deploy, etc)

c. Artifacts release details (release # or build date, etc)

However I was able to follow your suggestion to "define variables"...and by selecting "build customized" option. So when it pop ups for value, I choose overrride and enter the value I need. this works fine (thanks again). I started liking bamboo and I"m sure bamboo will have similiar features

2. I was not able to download Inject bamboo variable task plugin. Could you please provide me a link or attach the jar file pls? (I downloaded from thrid party link, but it seems to be a corrupted one)

Thanks,

Ravee
Moving a Bamboo Server + Agents
Asked by St?phane Genin:

Hi,

I need to move a Bamboo server and the related agents to a new location.

Regarding the server, I will install a fresh Bamboo instance, then export / import from the current server.

For the agents, is there something I shall move from the current machines, or shall I just install fresh agents and point them on the new server?

Thanks

St?phane


Answers:
author: Sultan Maiyaki
body: Hi St?phane,

You can just install a fresh agent on the new server as well. Once that is done, you can just merge the {{agenthome/xml-data}} directory with one from the old server as that directory contains all the agent build working directory. In case you forgot to do that, it is not a problem as well bcause the build directory will be created again upon new build.

Hope that answers your question

Regards,

Sultan

comments: author: St?phane Genin
body: Thanks Sultan


author: Sultan Maiyaki
body: You are most welcome :)


author: St?phane Genin
body: Thanks Sultan


Tags: bamboo-administration
Estimated time for Bamboo build env is grossly incorrect
Asked by Amy Lu:

The estimated time for completing the bamboo build for our project environment is usually over 30 mins. But in practice it gets done in about 5-6 minutes.  
Having it so grossly incorrect is a problem. Having better estimates will help plan one's work.

I want to know how does Bamboo get the estimated remaining time for a building process and what could we do to improve the accuracy of the estimated time. Thanks in advance.


Answers:
author: Brent Villalobos
body: I don't know if this applies to you, but the average time for a plan takes into account queue wait time while the average time for a job within in a plan does not.

comments: author: Amy Lu
body: Thanks Brent.


author: Sultan Maiyaki
body: Hi Amy,

Could it be a case that you had a hung build before now? Thois is becaise the buidl duration is estimated based on heuritistics of previous builds

comments: author: Amy Lu
body: Hi Sultan,

I didn't see any hung build before.

For this project, there is totally 16 times build. The average duration for the first 6 builds is 70 minutes. The average duration for next 4 times is 17 min. And the average duration for recent 6 builds is only 5 minutes.

Could the estimated remaining time be according to how many changes are committed instead of just based on heuritisitcs of previous builds?


author: Amy Lu
body: Thanks Sultan.


Tags: bamboo-administration
Could you please give me a sample Junit xml format in Bamboo
Asked by Manikandan Thiagarajan:

Could you please give me a sample Junit xml format in Bamboo


Answers:
author: Jan Swaelens
body: Bamboo can process any JUnit XML file outputted by a JUnit test run, for example: <https://github.com/notnoop/hudson-tools/blob/master/toJunitXML/sample-junit.xml>

comments: author: Manikandan Thiagarajan
body: Could I run Test case without XML file in Bamboo


author: Manikandan Thiagarajan
body: How Could I get ou


author: Manikandan Thiagarajan
body: How Could I get output of xml file by my Junit test case


author: Jan Swaelens
body: There is no requirement of having an XML file to be able to run a JUnit test, it usually produces one though which is required if you want Bamboo to interpret the test results.


author: Manikandan Thiagarajan
body: How Could I run my Junit test case with out xml file


author: Manikandan Thiagarajan
body: For Junit Parser I want to give xml file name.Which one I want to give


author: Jan Swaelens
body: Please have a look at the documentation:

* <http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html>
* <https://confluence.atlassian.com/display/BAMBOO/JUnit+parsing+in+Bamboo>
How to deploy php app to CloudControl using Bamboo
Asked by Thanh Dat Le:

Could anyone tell me how can I configure the plan in Bamboo for continuos deployment from Bamboo to CloudControl?

Thanks


Answers:
author: LucasA
body: Hello there,

I'm not aware how CloudControl works, but keep in mind that if you can do your deploy via Linux command line, you're able to perform the same task using Bamboo.

To get this working, just add your deploy task as a Script task in Bamboo, just seting your own deploy shell script.

Cheers,

Lucas Lima


Tags: cloud
IDE Connector integration with Komodo?
Asked by Tom Wittbrodt:

Is there any chance that the IDE Connector will be updated to work with ActiveState Komodo?


Answers:
author: jjaroczynski
body: Hi Tom,

Unfortunately Atlassian does not plan to create an IDE Connector for Komodo.

If you are a fluent Komodo add-on writer then you can simply look into existing open source Atlassian IDE integrations and find out how to easily connect to JIRA or Bamboo.

Let us know if you are interested and we will share more information.

Cheers,  
Jacek

comments: author: James Parsons
body: This question may be old, but if i did, per say, wnt to create a connector for Komodo. Where would I find documentation on Atlassian products and who, when I finished should I contact to check out my extension?


author: jjaroczynski
body: Hi James,If you want to create a connector to JIRA (work with JIRA issue in Komodo) you should probably start with:\* Looking at existing IDE Connectors for Eclipse and IDEA to get a brief overview of the feature set and what can be done.\* Look at the JIRA REST API to know how to talk to JIRA and what information can be retrieved.\* (Optionally) look at the Java client for JIRA REST API. It hides direct http connections and JSON manipulation but in more advanced cases you still need to dig into JSON returned by JIRA\* (Optionally) look at the source code of Eclipse and IDEA Connectors if you need some clues on how to start or how particular call/feature works.Connector for Eclipse: <http://marketplace.eclipse.org/content/atlassian-connector-eclipse>Connector for Eclipse source: <https://bitbucket.org/atlassian/connector-eclipse/src>Connector for IDEA: <http://plugins.jetbrains.com/plugin/2190?pr=idea>Connector for IDEA source: <https://bitbucket.org/atlassian/connector-idea/src>JIRA REST API: <https://docs.atlassian.com/jira/REST/latest/>Java Client for JIRA REST API: <https://ecosystem.atlassian.net/wiki/display/JRJC/Home>Java Client for JIRA REST API source: <https://bitbucket.org/atlassian/jira-rest-java-client/src>Cheers,Jacek


Tags: ide-connector