youngmon/atlassian-qna huggingface dataset:
Is there anyway my HTML/CSV reports can be read by bamboo
Asked by CrazyAs5assin:

I run test scripts in command line and my rft framework generates HTML log as well as csv log. I'd there any way I can get the total no of testcases passed in bamboo report??


Answers:
author: Omar Herrera
body: Hi [@CrazyAs5assin](/t5/user/viewprofilepage/user-id/1229098)you can use JUnit format is a generic format as output or log of you testcases like It is a xml that you can read in bamboo with the JUnit Parser.

Something like this![JUNIT.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/28548iBB1FC5A08197E6F6/image-size/large?v=v2&px=999 "JUNIT.JPG")

Cheers.

Omar H.

comments: author: CrazyAs5assin
body: Hi Omar, thanks for your reply . i am working on my framework to create a xml report . i am new to bamboo and struggling with mentioning the location where my xml file should be picked up . suppose my bamboo agent is in cdrive bambooagent folder and my xml is in c drive results folder , how to mention a relative path


author: CrazyAs5assin
body: Figured it out thanks


author: Omar Herrera
body: Excellent [@CrazyAs5assin](/t5/user/viewprofilepage/user-id/1229098), please mark your question answered.


author: CrazyAs5assin
body: Can you help me how to mark a question as answered ? I am not able to find any option as such

comments: author: Omar Herrera
body: [@CrazyAs5assin](/t5/user/viewprofilepage/user-id/1229098) please check here [@link](https://community.atlassian.com/t5/Feedback-Forum-articles/How-and-why-to-accept-a-solution-to-your-question/ba-p/656156)
Is there a maven artifact download plugin for Bamboo 6.5?
Asked by Edward Duarte:

Is there a Maven artifact download plugin that supports Bamboo 6.5? We are upgrading to 6.5 and we do not see that the current plugins via the Marketplace support 6.5. Looks like the plugins stop supporting at 6.1.

Any thoughts?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Feel free fork from <https://bitbucket.org/dehringer/bamboo-maven-artifact-download-plugin> here and provide PR for update that plugin

<https://gaptap.atlassian.net/wiki/spaces/BMADP/overview>

Also, let's upgrade to latest Bamboo version 6.8.0 :)

Cheers,

Gonchik Tsymzhitov


Tags: maven
Bamboo Remont Agent gitv2 not available
Asked by melih arslan:

While Remote Windows Agents is started, it logs lots of plugin errors. Then remote agent is registered to the server without enabling some plugins. At this point I trigger a manual plan and it gets following error even Git is configured on the remote machine:

The build has failed to check out the source code: Plugin  
com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:gitv2 not available

Do you have any about what is wrong with my configuration?


Answers:
author: Marcin Gardias
body: What you can try is to download current agent installer from your Bamboo server and try to install a new agent. Does it work?

If not, could you please upload the agent log file?

Also: which version of Bamboo are we talking about?

comments: author: melih arslan
body: Hi Marcin,

Thank you for your answer.

I just deleted all the plugin and cache folders and the problem somehow resolved.

It does no make sense but anyway it is working properly now.
Remote Agent gitv2 not available
Asked by melih arslan:

While Remote Windows Agents is started, it logs lots of plugin errors. Then remote agent is registered to the server without enabling some plugins. At this point I trigger a manual plan and it gets following error even Git is configured on the remote machine:

The build has failed to check out the source code: Plugin  
com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:gitv2 not available

Do you have any about what is wrong with my configuration?


Answers:
author: Gabriel Ribeiro
body: Hi Melih,

* Are you sure the **JAVA_HOME** environment variable is pointing to a valid **JDK 1.8** installation?
* Are you sure the user you're using to start the agent have read/write permissions on the **bamboo-agent-home** folder?
* Have tried to remove the **bamboo-agent-home** folder and reinstall the agent from scratch?
* Is there any other error messages in the **bamboo-agent-home/logs/atlassian-bamboo-agent.log** file?

thanks

comments: author: melih arslan
body: Hi Gabriel,

Thank you for your answer.

I just deleted all the plugin and cache folders and the problem somehow resolved.

It does no make sense but anyway it is working properly now.
need to integrate jira with bamboo
Asked by CrazyAs5assin:

Hi

I am running my automation test scripts using A shell script task in bamboo.

My test scripts are designed in a way ,each test script result will be updated in jira using api in real time.

Is there a way where i can link my bamboo and jira and get a report where in this bamboo biuld , these many no of test cases are passed (based on jira pass fail status)


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Please, have a look <https://confluence.atlassian.com/bamboo/integrating-bamboo-with-jira-applications-289276945.html>

Cheers,

Gonchik Tsymzhitov


Tags: jira
Bamboo bootstrap failed: Your Bamboo instance could not start because Bamboo home directory does not
Asked by durgabhavani:

Hai guys,please help me any one

i am new to bamboo i am trying to install bamboo on ubuntu 16.04

i downloaded latest bamboo version format is tar.gz

i maintained two directories i.e 1)bamboo installation dir 2)bamboo home dir

i placed the bamboo home dir in bamboo installationdir/attlassian-bamboo/WEB-INF/classes/bamboo-init.properties

in this location i un commented the bamboo.home and i place the newly created bamboo home dir

after that i go back to bamboo installation dir under bin floder and i started the bamboo server.

i launched the bamboo by http://myip:8085

this is first time i launched so its asking for license key i contact the attlassian people and i get the lecense key

i enter the same licensekey and i choosen the express installation

after that i am able to see the admin user set up page

i entered al the details and i click on finish

its keep on running and saying that bamboo finalises your setup

i was waiting upto 2hrs

after that i got above issue.


Answers:
author: Gabriel Ribeiro
body: Hi durgabhavani,

We are happy to hear you're evaluating Bamboo!

Regarding your issue, Is your environment meeting the requirements listed in the [supported platforms](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html "supported platforms") documentation? Also, are you sure that the user you're using to start Bamboo is the owner of the **bamboo-home** and **installation** directories?

Have you checked the **bamboo-home/logs/atlassian-bamboo.log** file to see if there are details about the error there? Please, if you find any \[FATAL\] error, paste the details here so we can better understand why your instance is failing to start.

thanks.
I bought a new license. When I try to apply it, Bamboo says the license is invalid. Why?
Asked by Dan Cusick:

I am trying to re-key our bamboo instance with the new license I just bought -

It says the license is invalid. Here is the new license:


Answers:
author: Andy Heinzer
body: Hi Dan,

I entered your license key into an internal system I have access to and it gave me back some more details about this license key:

```
Description ?? ?Bitbucket (Server) 10 Users: Starter License
NumberOfUsers ?? ?10
CreationDate ?? ?2018-08-02
```

As such, the license key you are using here is for Bitbucket server, not Bamboo. I would recommend returning to your <https://my.atlassian.com> account and confirm that the product listed there is actually for Bamboo in case you have multiple licenses here.

Please let me know if we can be of any additional assistance here.

Andy
Question about Bamboo Server's user tier.
Asked by Eli Lu:

We are evaluating Bamboo \& our bitbucket(100 user). My questions is below.

1) What is "Unlimited local agents, No remote agents, 10 jobs"? 10 jobs means ?? We can only run 10 jobs ?

2) If we want to purchase "$10". How many price for this ?

Thank you

Eli Lu


Answers:
author: Alexey Chystoprudov
body: 1. Look at <https://www.atlassian.com/licensing/starter>  
2. Didn't get your question

comments: author: Eli Lu
body: Alexey, Thanks,

1. OK for me now.

2. My question is that I want to know if my bitbucke license is 100 and it will cause price of bamboo different ?

Thank you

Eli Lu


author: Alexey Chystoprudov
body: As I understand you're talking about Bitbucket Server license for 51-100 Users.

It will not change Bamboo license, you can by $10 starter license to try it out. Later you can upgrade Bamboo license independently from Bitbucket Server.


author: Eli Lu
body: Get it.

Thanks for your quickly \& kindly support.
Will backing-up Bamboo using rsync without "pausing" it not cause bamboo jobs to fail?
Asked by Francis Lee Mondia:

Hi,

I've taken inspiration from this: <https://confluence.atlassian.com/bamkb/automating-bamboo-backup-operations-702715390.html>

I'm wondering now if bamboo jobs will fail we do the rsync without pausing bamboo. Some guys say it won't but my gut feel says it will.

I'm setting-up a test bamboo instance and backup VMs to test this out, but would like to know if anyone has done this before and was successful.

Kind regards,

Francis


Answers:
author: Gabriel Ribeiro
body: Hi Francis,

Your jobs may not fail but I personally think that this shouldn't be your main concern. Perform a backup of Bamboo files while jobs are running can result in lots of issues. To name a few: Your backup could have partial or inconsistent data as new data is being written during a time when it was trying to save. Even if the save would complete properly (which it probably wouldn't) you'd now have a backup that did not match the current application state.

This is generally the case with many applications. Whether you're taking manual backups (as proposed in the documentation) or taking them through the UI tools you'll always want to pause the application to take backups.

cheers.

comments: author: Francis Lee Mondia
body: Hi Gabriel,

Thanks for the response. I know where you're coming from and I feel the same way too.

However, I recently stumbled on Lsyncd and I think it's a good solution. Just wondering though if its something the Atlassian team would recommend for backing-up Atlassian application home folders (and as part of the back-up strategy for some if not all apps).

More info on Lsyncd here:

<https://github.com/axkibe/lsyncd>

Kind regards,

Francis


Tags: backup
How are artifacts versions managed?
Asked by Eric Zhang:

I have read [Sharing artifacts](https://confluence.atlassian.com/bamboo/sharing-artifacts-359400060.html) **Sharing artifacts between build plans** section and been wondering how the artifacts versions are managed.

For example, I have two build plans. Plan A produces a jar file upon each run, and B produces a war file upon ear run. Then I have a master plan which downloads the artifacts of A \& B, and then generate a ear file.

A \& B are triggered automatically on each code commit, while master plan is run manually. In this case each time I run the master plan, it always gets the latest version of artifacts from A \& B, doesn't it? Is there a way to specify the version of artifacts to be downloaded?

Any comments / suggestions are appreciated. Thank you.


Answers:
author: Gabriel Ribeiro
body: Hi Eric,

As stated in the documentation you mentioned:
> The **artifact from the most recent successful build will be used**. If there are no successful builds from the artifact-producing plan or the artifacts have expired, the artifact-consuming job will fail.

So yes, the "Artifact Download task" will always use the war file produced by the latest plan A and B successful builds.

This is the current behavior but there is an open improvement request asking for the ability to download shared artifacts from specific builds:

* [BAM-15836 - Download shared artifact from specific build](https://jira.atlassian.com/browse/BAM-15836)

I encourage you to vote on and watch the Improvement Request to increase its visibility and ensure you're kept in the loop with any future updates.

cheers


Tags: artefact
Where do you set atlassian.bamboo.build.disable?
Asked by joapa:

Where do you set system properties like [atlassian.bamboo.build.disable](https://docs.atlassian.com/atlassian-bamboo/6.6.1/com/atlassian/bamboo/utils/SystemProperty.html#BUILDING_DISABLED)?


Answers:
author: Jeremy Owen
body: Hey Jonathan,

The below documentation goes over where you can configure system properties depending on your OS and start-up method:

* [Configuring your system properties](https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html)

Please note, that custom system properties such as [atlassian.bamboo.build.disable](https://docs.atlassian.com/atlassian-bamboo/6.6.1/com/atlassian/bamboo/utils/SystemProperty.html#BUILDING_DISABLED) that are passed to the application must be prefixed with "D". Example:

```
: ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Datlassian.bamboo.build.disable=true"}
```

Just a note regarding this property since it's JavaDoc might be misleading. It doesn't disable **all** builds, just builds that occur from a [trigger](https://confluence.atlassian.com/bamboo/triggering-builds-289276897.html). Manual builds can still be performed.

Cheers,

Jeremy
Prevent overriding global variables
Asked by mitchellwhite:

Is there a way to prevent certain global variables from being overridden? We use a global variable to point to a server name that should never be overridden, and yet someone overrides it occasionally and breaks their build. Is there some way to make a global variable constant or immutable?


Answers:
author: Gabriel Ribeiro
body: Hi Mitchell,

I'm afraid this is currently not possible, we do have improvement suggestion asking for the ability to restrict variables update only by admin users:

* [BAM-12585 - Ability to Lock Variables](https://jira.atlassian.com/browse/BAM-12585)

I encourage you to vote on and watch the Improvement Request to increase its visibility and ensure you're kept in the loop with any future updates.

For more details on Atlassian's approach towards addressing new features please visit the [Implementation of new features policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) page.

cheers
I need to Verify firewall ports 443 and 54663 TCP connections are open between Agent and bamboo
Asked by CrazyAs5assin:

I am trying to setup remote agent in my DAAS machine. i need to verify if my firewall ports 443 and 54663 TCP connections are open between my Agent and the Bamboo. in order to continue the setup as per doc provided to me.can anyone help me with this.


Answers:
author: Gabriel Ribeiro
body: Hi Vicki,

Could you please take a look at the [Troubleshooting Remote Agents](https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html) documentation especially the "Diagnosing Remote Agent Connectivity" section? I'm pretty sure this is a good start.

thanks.
Getting EU_WEST_3 error while importing a backup
Asked by Andreas Herold:

EDIT: In contrast to what I wrote the two instances didn't have the same version. The one that created the backup was on version 6.6.1 and the other one on version 6.2.2. So it was my fault. :-(

I have got a bamboo server running on 1 instance and everything works fine. I am using the build-in backup feature to backup all the important stuff from bamboo.

Now I want to start a new instance and use one of the backup archives.

So I am going to the import part of bamboo and then I choose the archive and all and after clicking import I am getting this error message.

```
Message: Invalid enumeration value 'EU_WEST_3'; not one of values of com.atlassian.aws.ec2.awssdk.AwsSupportConstants$Region
??????? at org.codehaus.staxmate.in.CursorBase._constructTypedException(CursorBase.java:337)
??????? at org.codehaus.staxmate.in.SMInputCursor.getElemEnumValue(SMInputCursor.java:1525)
??????? at com.atlassian.bamboo.migration.stream.ElasticImageConfigurationMapper.importProperties(ElasticImageConfigurationMapper.java:119)
??????? at com.atlassian.bamboo.migration.stream.ElasticImageConfigurationMapper.importProperties(ElasticImageConfigurationMapper.java:41)
??????? at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.importXml(BambooStAXMappingHelperAbstractImpl.java:166)
??????? at com.atlassian.bamboo.migration.BambooStAXListImportStrategy.importListItemXml(BambooStAXListImportStrategy.java:252)
??????? at com.atlassian.bamboo.migration.BambooStAXListImportStrategy.access$100(BambooStAXListImportStrategy.java:21)
??????? at com.atlassian.bamboo.migration.BambooStAXListImportStrategy$1.importListItems(BambooStAXListImportStrategy.java:36)
??????? at com.atlassian.bamboo.migration.BambooStAXListImportStrategy.importListXml(BambooStAXListImportStrategy.java:223)
??????? ... 325 more?
```

What did I do wrong?

Additional information:

- I am using a mysql database

- the second instance has the same version (6.6.1) as the first one


Answers:
author: Gabriel Ribeiro
body: Hi Andreas,
> EDIT: In contrast to what I wrote the two instances didn't have the same version. The one that created the backup was on version 6.6.1 and the other one on version 6.2.2. So it was my fault. :-(

Just to confirm and keep things more organized here, the answer to your question is that you were trying to import on Bamboo 6.2.2 an export generated by Bambo 6.6.1?

cheers.

comments: author: Andreas Herold
body: Hi Gabriel,

yes that is right.


Tags: backup

import
Is it possible to create an artifact name based on a variable
Asked by Malentaqui:

Is it possible to create an artifact name based on a variable, like bamboo.build.planName or bamboo.jira.version and so on.

Thanks in advance


Answers:
author: Gabriel Ribeiro
body: Hi Beck,

When you say "artifact name based on a variable", Are you talking about the file itself or use variables in the artifact definition page?

**Artifact file:**

As [variables](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html) will be available at agent's environment while the build is running, you can use them in your tasks to produce your artifacts.

Very simple example:

If you want to create a "planKey-buildNumber.txt" file and write "hello world" into it, you just need to add a script task with the following inline script:

```
echo hello World > ${bamboo.planKey}-${bamboo.buildNumber}.txt
```

The same syntax can be used anywhere inside your build.

You will find more examples in the "[Bamboo variables](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html)" documentation.

**Artifact Definition:**

Yes, you can use variables at the artifact definition fields, the only thing that you must pay attention is to do not use Build-specific variables (like ${bamboo.buildNumber}) in the "copy pattern" field, as these variable are evaluated by Bamboo dynamically at build time, you may face problems if you decide to use the artifact in another plan and/or deployment.

Please let me know if this answers your question.

cheers.
Export failed using xcodebuild command on terminal
Asked by Jimmy Harijanto:

I tried to archive my project using Bamboo, but it got failed on the export command (the build and archive process is succeed). I am using these commands below to export the project:

    /usr/bin/xcrun xcodebuild \    -exportArchive \    -archivePath $CUSTOM_WORKING_DIRECTORY/build/Integration/AppMobile-iOS.xcarchive \    -exportPath $CUSTOM_WORKING_DIRECTORY/build/Integration/ExportedProduct \    -exportOptionsPlist $EXPORT_OPTIONS_PLIST_PATH \    -IDEPostProgressNotifications=YES \    -DVTAllowServerCertificates=YES \    -DVTProvisioningUseServerAccounts=YES \    -DTDKProvisioningProfileExtraSearchPaths=$PROVISIONING_PROFILES_PATH \    -configuration $CONFIGURATION

But I got this in Bamboo:

    2018-08-01 11:16:59.428 xcodebuild[15134:2349667]  DVTDeveloperAccountManager: Failed to load credentials for user@user.com: (null)2018-08-01 11:17:31.678 xcodebuild[15134:2349660] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f88f750aee0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(    "Error Domain=IDEProvisioningErrorDomain Code=23 \"There are no accounts registered with Xcode.\" UserInfo={NSLocalizedDescription=There are no accounts registered with Xcode., NSLocalizedRecoverySuggestion=Add your server to your team in the bot editor.}",    "Error Domain=IDEProfileLocatorErrorDomain Code=1 \"No profiles for 'application.id' were found\" UserInfo={NSLocalizedDescription=No profiles for 'application.id' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'application.id'.}",    "Error Domain=IDEProvisioningErrorDomain Code=23 \"There are no accounts registered with Xcode.\" UserInfo={NSLocalizedDescription=There are no accounts registered with Xcode., NSLocalizedRecoverySuggestion=Add your server to your team in the bot editor.}",...

I have tried to add these line before the export command:

    security unlock-keychain -p password /Users/xcodeserver/Library/Keychains/login.keychain-db

But still got the same. Any clue? Thanks.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope it has been fixed.

Could you share the solution with us?

Cheers,

Gonchik Tsymzhitov


Tags: archive

error

export

xcode
SSIS CI and unit/integration tests
Asked by Sze Tan:

Has anyone integrated Bamboo with something like ssistester for unit and integration tests?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

You can automate by REST API as well

<https://github.com/atlassian-api/atlassian-python-api>

Cheers,

Gonchik Tsymzhitov