youngmon/atlassian-qna huggingface dataset:
Bamboo doesn't send anymore emails, since updated to 7.2.3
Asked by Maurus Hilber:

Hello

Since we have updated the Bamboo to the Verson 7.2.3, the Bamboo doesn't send anymore any emails.

When we click on the test, we recive this error:  
The mail settings you entered were not valid. Error thrown was: javax.mail.AuthenticationFailedException: 535 Authentication failed  

To test, we had disabled the firewall completly on the Server

Have a nice day

Maurus Hilber


Answers:
author: Marcin Gardias
body: It's most probably this bug: <https://jira.atlassian.com/browse/BAM-21246>

Please upgrade to v7.2.4.
Running msbuild from linux server
Asked by mrinal:

Hi Team,

We are unable to build the .net and asp.net project with ms build option over bamboo server that is installed on linux(centos) machine

kindly let us know if ms build supports over the linux machine

Please do help us on the above issue


Answers:
author: Nic Brough -Adaptavist-
body: This is not really a Bamboo question.

Msbuild does work on Linux systems, but you'll need to consult the docs on msbuild on how to make it work on your server. Once you've got it working manually, Bamboo's agents can take over, but whatever makes you "unable to build" needs fixing on the build server first.


Tags: linux
I am trying to install bamboo on redhat does the install require an existing install of tomcat?
Asked by Gil Jensen:

I am trying to install bamboo on redhat 7 but the file referenced in the instructions doesnt exist (`atlassian-bamboo/WEB-INF/classes/bamboo-init.properties`)


Answers:
author: Gil Jensen
body: bash-4.2$


author: Victor Debone
body: Hello [@Gil Jensen](/t5/user/viewprofilepage/user-id/4399268) welcome to the Atlassian Community!

Can you share some more details? What version of Bamboo are you trying to install? What download type did you choose (zip or tar.gz)?

comments: author: Gil Jensen
body: I downloaded the tar.gz version 7.2.4

thanks


author: Gil Jensen
body: rwxr-xr-x. 14 jensen users 4096 Apr 20 09:11 ./  
drwxrwxrwx. 12 root root 224 May 18 13:59 ../  
drwxr-xr-x. 42 jensen users 4096 Apr 20 09:11 atlassian-bamboo/  
-rwxr-xr-x. 1 jensen users 1375 Apr 20 09:10 bamboo.sh\*  
drwxr-xr-x. 2 jensen users 4096 Apr 20 09:11 bin/  
-rw-r--r--. 1 jensen users 19882 Apr 20 09:10 BUILDING.txt  
drwxr-xr-x. 2 jensen users 238 Apr 20 09:11 conf/  
-rw-r--r--. 1 jensen users 5727 Apr 20 09:10 CONTRIBUTING.md  
drwxr-xr-x. 2 jensen users 4096 Apr 20 09:11 lib/  
drwxr-xr-x. 2 jensen users 40960 Apr 20 09:11 licenses/  
drwxr-xr-x. 2 jensen users 6 Apr 20 09:11 logs/  
-rw-r--r--. 1 jensen users 1777 Apr 20 09:10 NOTICE  
-rw-r--r--. 1 jensen users 3754 Apr 20 09:10 README.html  
-rw-r--r--. 1 jensen users 3336 Apr 20 09:10 README.md  
-rw-r--r--. 1 jensen users 2026 Apr 20 09:10 README.txt  
drwxr-xr-x. 6 jensen users 110 Apr 20 09:11 scripts/  
drwxr-xr-x. 2 jensen users 48 Apr 20 09:11 temp/  
drwxr-xr-x. 2 jensen users 61 Apr 20 09:11 tomcat-docs/  
drwxr-xr-x. 4 jensen users 47 Apr 20 09:11 tools/  
drwxr-xr-x. 2 jensen users 6 Apr 20 09:11 webapps/  
drwxr-xr-x. 2 jensen users 6 Apr 20 09:11 work/  
bash-4.2$


author: Victor Debone
body: Can you confirm if the following command does return nothing?

```
$ find . -name 'bamboo-init.properties'

./atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
```


author: Gil Jensen
body: thank you that helped I did find the file here ./atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
Has the permission schema changed in Bamboo 7.2 ?
Asked by Darrell Sutherland:

Following an upgrade of Bamboo to 7.2.2 users are now reporting that they are no longer able to clone environments and assign agents to environments?


Answers:
author: Alexey Chystoprudov
body: See <https://jira.atlassian.com/browse/BAM-19760>


Tags: permission
build failed with kotlin.KotlinNullPointerException
Asked by selmanon:

I get this issue after an update followed by a rollback against the Gradle version.***Background:***   
Bamboo builds with Docker run tasks.  
Agent environment.  

------------------------------------------------------------  
Gradle 5.4.1  
------------------------------------------------------------

Build time: 2019-04-26 08:14:42 UTC  
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d

Kotlin: 1.3.21  
Groovy: 2.5.4  
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018  
JVM: 1.8.0_161 (Oracle Corporation 25.161-b12)  
OS: Linux 3.10.0-693.17.1.el7.x86_64 amd64

<br />

<br />

From

```
classpath 'com.android.tools.build:gradle:3.5.3'
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
```

```
To

classpath 'com.android.tools.build:gradle:4.2.0'
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
```

```

gradlew assemble?

Project :APP already has a grgit property. Remove org.ajoberstar.grgit from either :APP or :APP. publishNonDefault is deprecated and has no effect anymore. All variants are now published.
```

any idea about a path to follow to solve this issue?


Answers:
author: selmanon
body: Solved by removing **compileOnly 'com.github.pengrad:jdk9-deps:1.0'**dependency which I added after upgrading to Android Studio 4.2.


Tags: docker

gradle

kotlin
i am writting a powershell script in bamboo in order to post html data to the confluence child page
Asked by Mahima Goel:

i am writting a powershell script in bamboo in order to post html data to the confluence child page.

The script is passing in bamboo, but i am not able to see data in confluence. Please help.

Script:

#variables  
$ConfluenceURL = "<https://network_name.com/rest/api/content/>"  
$username="${bamboo.Username}"  
$password="${bamboo.Password}"

<br />

#Where the page gets created  
$spaceKey = 'space_name' #Space Key  
$parentId = "Parent_id" #ID of parent page  
$pageTitle = 'pager1'

#Content  
$pageContent = 'welcome'

#Generate post request as PowerShell objects  
$post = @{  
type = 'page'  
"ancestors" = @(  
@{"id" = $parentId}  
)  
title = $pageTitle  
space = @{ key = $spaceKey}  
body = @{  
storage = @{  
value = '$pageContent'  
representation = 'storage'  
}  
}  
}

#Header for authentification  
$base64AuthInfo = \[Convert\]::ToBase64String(\[Text.Encoding\]::ASCII.GetBytes(("{0}:{1}" -f $username,$password)))  
$headers = @{Authorization=("Basic {0}" -f $base64AuthInfo)}

$ContentType = "application/json";  
\[System.Net.ServicePointManager\]::ServerCertificateValidationCallback = {$true} ;  
\[Net.ServicePointManager\]::SecurityProtocol = \[Net.SecurityProtocolType\]::Tls12

<br />

#Post request to Confluence  
try {  
Invoke-WebRequest -Uri $ConfluenceURL -Method POST -ContentType "application/json" -Body $post Headers $headers  
} catch {$_.Exception.Response }


Answers:
author: Austin Smith
body: Hi there -

Doing this type of stuff programmatically can be cumbersome. When I did something similar a few years ago, I used postman to get my request proper FIRST, then translated that over to powershell. This helps AH LOHT!

Also, since you are running as an unattended script, you will need the invoke-webrequest -usebasicparsing \*otherwise it will attempt to load the profile in the request, which likely wont fly for the user executing bamboo.

Good luck


Tags: confluence

powershell
JUnit Test Parser BambooSpec variable condition
Asked by Radek Antoniuk:

[Bamboo 7.2](https://confluence.atlassian.com/bamboo/configuring-tasks-289277036.html) introduced conditional tasks.

However, [the Java BambooSpec reference](https://docs.atlassian.com/bamboo-specs-docs/7.2.4/specs.html?java#junit-parser) does not mention how can I configure a Variable condition on the parser task that I can configure via UI. Is that possible?


Answers:
author: Radek Antoniuk
body: ok, the answer is [here](https://docs.atlassian.com/bamboo-specs-docs/7.2.4/specs.html?java#configuring-unsupported-tasks) and with that approach you get:

```
new TestParserTask(TestParserTaskProperties.TestType.MOCHA)
.conditions(new AnyTaskCondition(new AtlassianModule("com.atlassian.bamboo.plugins.bamboo-conditional-tasks:variableCondition"))
.configuration(new MapBuilder()
.put("variable", "SKIP_TEST_PARSING")
.put("operation", "not_equals")
.put("value", "1")
.build()))
.resultDirectories("**/mocha.json"))
```


Tags: addon-com.atlassian.bamboo.plugins.bamboo-conditional-tasks

spec
Is there any API for activation or deactivation of a particular user
Asked by Saurabh Saini:

I haven't found any API for activation or deactivation of a particular user. I am writing a library for user management. If there is any such API can you send me the URI for that?


Answers:
author: Gonchik Tsymzhitov
body: Hi [@Saurabh Saini](/t5/user/viewprofilepage/user-id/4379985) ,

Welcome to the community.

Based on the doc, yes, it's not possible yet.

<https://docs.atlassian.com/atlassian-bamboo/REST/7.2.4/#d2e970>

I hope you can do in the next way, remove user from group, that group will be extend rights to login.

Like that <https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bamboo.py#L707>
Automatically update version in pom.xml when Bitbucket merges a branch into master
Asked by Samuel VanFossen:

I'm new to Bitbucket and Bamboo, and I'm looking for a way to make sure that whenever someone successfully merges from another branch to the master branch, the version listed in the pom.xml is updated. For example:

1.24-SNAPSHOT =\> 1.25-SNAPSHOT

I'd appreciate any input you might have, and I apologize if this information is vague!


Answers:
author: Eduardo Alvarenga
body: Hi [@Samuel VanFossen](/t5/user/viewprofilepage/user-id/4379522), welcome to **Atlassian Community!**

To set the version number as *dynamic* value, you'll need to declare the equivalent Bamboo variable *bamboo.buildNumber* during the execution of the Maven script.

For example, you may want your Maven 2 version to be determined by Bamboo. In Maven 2 `pom.xml` you may have:  

    ...<groupId>com.atlassian.boo</groupId><artifactId>boo-test</artifactId><packaging>jar</packaging><version>1.1.${bambooBuildNumber}-SNAPSHOT</version>...

You can then specify the following in the **Goal** field of your build plan:  

    clean package -DbambooBuildNumber=${bamboo.buildNumber}

When the command runs, Bamboo will replace `bamboobuildNumber` with the actual number (e.g. 1102), which will be passed to the underlying Maven build to use. The command will then produce a jar that looks like this: `boo-test-1.1.1102-SNAPSHOT.jar`.  

More information can be found [here](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html#Bamboovariables-Mavenexamples).


Tags: bitbucket

maven
ARM Bamboo Agent
Asked by Jonathan Vaughan:

We have a requirement to run an ARM Agent, so we are using Amazon Linux 2 ARM.

However when we run

"sudo /vzc/bamboo/build-agent-home/bin/bamboo-agent.sh stop"

We get the following error:

"/vzc/bamboo/build-agent-home/bin/./wrapper-linux-armhf-64  
/vzc/bamboo/build-agent-home/bin/./wrapper-linux-armhf-32  
/vzc/bamboo/build-agent-home/bin/./wrapper"

The same is true when we run start.

I read a comment somewhere that it is possible to get Bamboo Agents to run on ARM machines, but as of yet, I have been unable to do it. Any suggestions?

Version:

Atlassian Bamboo version 6.10.4 build 61009


Answers:
author: Miguel Alonso
body: Hi Jonathan,

ARM is not officially a supported platform but agents should work on ARM if you run the agent manually without the wrapper as the [wrapper itself is not compatible with ARM](https://confluence.atlassian.com/bamboo/remote-agent-supervisor-289277436.html).

To run the remote agent without the wrapper, you can execute the remote agent jar directly. The agent jar is available from Bamboo's agent installation page for download. Follow the steps below to run it:

1. Browse to: http://\<host\>:8085/admin/agent/addRemoteAgent.action
2. Click the the direct agent JAR is available at bamboo-agent-6.10.4.jar link and save the agent jar.
3. Start the agent with or without token key by running the below command in the agent itself:

   ```
   java -jar bamboo-agent-6.10.4.jar http://<host>:8085/agentServer/ <tokenKey>
   ```

Cheers,

Miguel

comments: author: Jonathan Vaughan
body: As part of our setup process we both stop and start the service. via the jar can I pass commands that will stop as well as start?


author: Jonathan Vaughan
body: As when I run:  
java -Dbamboo.home=/vzc/bamboo/build-agent-home -jar atlassian-bamboo-agent-installer-6.10.4.jar <https://ds.bamboo.fleetmatics.com/agentServer/> stop

I get the same error as when I went through the wrapper:

"/vzc/bamboo/build-agent-home/bin/./wrapper-linux-armhf-64  
/vzc/bamboo/build-agent-home/bin/./wrapper-linux-armhf-32  
/vzc/bamboo/build-agent-home/bin/./wrapper"
Why can't we change branch of a Linked Repository of type Bitbucket cloud in the plan branch level?
Asked by Chitrarth Sahai:

In a particular plan, we have set the master branch of various git repositories, in the respective plan branches we have set a different branch to build. See below snaps -

![civilgeolib.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/141887i79B3D194D91309C2/image-size/large?v=v2&px=999 "civilgeolib.PNG")

We recently updated one of our repo from Git to BitBucket Cloud type (as they are originally hosted on BitBucket cloud).

This new linked repository does not give option to change branch on the plan branch level. It gives an option to override the branch on main plan level but not on plan branch level. See below snap -

![telerik.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/141890iCE4BAC989F8BA7DA/image-size/large?v=v2&px=999 "telerik.PNG")

We are using latest version 7.2.3

Quick help would be appreciated.


Answers:
author: Marcin Gardias
body: I think it's because of this bug: <https://jira.atlassian.com/browse/BAM-21280>

You should update to 7.2.4


Tags: branch

bug

continuous-delivery

plan
Recover Administrator password
Asked by Santhosh Kumar:

Is there anyway to recover Administrator password in Bamboo version 5.15? It all worked as expected 3 months ago and can't login due to invalid password error.


Answers:
author: Sagar
body: Hi [@Santhosh Kumar](/t5/user/viewprofilepage/user-id/4378602) As your bamboo version is below 6.6 recovery admin password process will not work as mentioned here : <https://confluence.atlassian.com/bamboo/lockout-recovery-process-952624910.html>

For version 5.\* need to reset the password from database as mentioned in the below KB article.

<https://confluence.atlassian.com/bamboo0514/restoring-passwords-to-recover-admin-users-868986278.html>

Let me know how it goes.

comments: author: Santhosh Kumar
body: Thanks for the response. Didn't have to reset the password as one of my team mate had the correct login credentials.
Tag Trigger Variable
Asked by Craig Tyler:

We've recently upgraded to Bamboo 7.2 for tag triggers and I'd like to use the triggering tag value as part of the plan steps.

Is the tag that triggered the build captured in a bamboo variable? I didn't see one explicitly mentioned on the bamboo variables page for 7.2.


Answers:
author: Craig Tyler
body: Answered here: <https://community.atlassian.com/t5/Bamboo-questions/Re-Git-tag-name-in-variable/qaq-p/1588022/comment-id/29708#M29708>

comments: author: Craig Tyler
body: Still it would be nice to have the documentation updated...
Lifetime status of IP address
Asked by Scatter Cheats:

Hello Community,

i wanted to ask, if it is possible to check livetime with the status page, if a certain IP address is online or offline?

Thanks a lot in advance for your answers :)


Answers:
author: Egor
body: Hi Scatter,

Egor here with the StatusPage, thanks for reaching out!  

May I ask you to specify, would you like to monitor your IP addresses using StatusPage?   

If yes, I'm afraid that it's currently not possible, as StatusPage is a 100% communication tool.   

We do have [pre-existing integrations](https://help.statuspage.io/help/automating-components "https://help.statuspage.io/help/automating-components") with monitoring tools like Pingdom and New Relic to automate parts of the status page, but we sit on top of monitoring tools to communicate with end users.  

Please let me know if you have any other questions!   

Best Regards,

Egor


Tags: cloud

ip-address

offline

status
Standard Bank
Asked by Suraksha Sarup:

Standard bank would like to have a call with some one from Status Page regarding a recent page licence they had purchased for the standard bank group. It was an enterprise licence that is to be used for external customers. The current obstacle I have is that my IT security has requested a number of requirements to be in place prior to us going live to customers. Some off these are requirements that the Atlassian team need to confirm for us if in place or not.


Answers:
author: Egor
body: Hi Suraksha,  

Thanks for reaching out! Egor here with the StatusPage team.  

May I ask you to open a support ticket using <https://help.statuspage.io/help/contact-us-30> so we can properly address this?   

I wish you a wonderful day ahead!  

Best Regards,

Egor
Cannot create atlassian site to migrate statuspage account
Asked by panderson@ussoccer.org:

In the screenshot below, no matter what I type in the "site name" field, clicking "continue" does nothing. The continue button does turn blue, but nothing happens when I click it. How can I proceed?

![Screen Shot 2020-09-14 at 12.48.37 PM.png](/t5/image/serverpage/image-id/110320i6D5564AAC913844E/image-size/large?v=v2&px=999 "Screen Shot 2020-09-14 at 12.48.37 PM.png")


Answers:
author: Zach
body: Hey Panderson!

I believe I have a support ticket with you covering exactly this, but we've found a couple issues that are preventing some invited Statuspage organizations from being able to progress with the migration to Atlassian.

We're currently reporting progress in the form of an incident on our Statuspage [here](https://metastatuspage.com/incidents/r93chv5sl7b0)

Once more information is available we'll be sure to update the incident with what we find. Thanks again for bringing this to our attention! We're working hard to make the migration possible for your Statuspage organization as soon as possible.

comments: author: Zach
body: Following up on this - we've rolled out a fix that looks to have resolve the issue.

If any other customers happen to retry, and are still unable to process with the migration - please reach out to our support team over at support.atlassian.com!


Tags: migration
How to fetch incidents posted on statuspage.
Asked by Nayan Kumar:

I would like to know how to fetch incidents of all statuspage updates which we have posted in csv or any other format which will be suitable for further analyzing the data.

Also we are using statuspage product in our company. I am contacting from Catchpoint systems Operations Team.


Answers:
author: Mark Campbell-Vincent
body: Hi [@Nayan Kumar](/t5/user/viewprofilepage/user-id/4084892) -

There currently isn't a way to export incidents in a csv format, but you can use the "[Get a list of incidents](https://developer.statuspage.io/#operation/postPagesPageIdIncidents)" API to fetch all incidents. The limit to fetch is 100, but you can use the page offset query parameter to query specific pages.
Customise Status Page using HTML and CSS
Asked by Sriram PH:

![Screen Shot 2020-09-14 at 5.08.17 PM.png](/t5/image/serverpage/image-id/110275iD7A6F0292F9447A8/image-size/large?v=v2&px=999 "Screen Shot 2020-09-14 at 5.08.17 PM.png")Can we customise the status Page content instead of only Header and Footer ?   
In my case, I needed an tabular representation to show my status (above image), I could achieve showing data in tabular format but there is no way we can delete the actual Status data which is rendered in page content (Please refer below image).  

![Screen Shot 2020-09-14 at 7.50.45 PM.png](/t5/image/serverpage/image-id/110277iBA1A8A703E880AAA/image-size/large?v=v2&px=999 "Screen Shot 2020-09-14 at 7.50.45 PM.png")Kindly help me in this.  
Thanks


Answers:
author: Pete Peterson
body: You are able to change practically anything if you know either its id or class name. The custom CSS and javascript render after the DOM loads, I believe. We've used this to hide incidents and make them clickable to reveal them vs. just spamming the whole page with them. It is very customizable.

comments: author: Sriram PH
body: Yep! Thanks, I could do the customisation..


author: Sarvesh Damle
body: Sriram: I need something similar. Can you post your header and footer HTML pls?


author: Matheus F_ Nishida
body: Yes, me too. Would you mind, pls, pasting the HTML/CSS content here?

Thanks!


author: Pete Peterson
body: I created a repo of our custom css and HTML here:

[Custom CSS and HTML for Stauspage](https://github.com/ppeterson104/statuspage-custom/tree/main)

The HTML is basically a \<script\> tag that contains a bunch of javascript to alter the names of some text, as well as change the layout of statuspage itself. Hopefully it gives you ideas. There is also some custom css in there that is for what we post via API, which essentially sends HTML to be displayed in Statuspage.


Tags: cloud
Unable to get notified by our domain
Asked by rsharma02@xento.com:

We are done with setting all email configuration and DNS configuration still we are receiving notification from noreply@statuspage.io ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/110209iCC6F964D6EA8223B/image-size/large?v=v2&px=999 "image.png")

But while sending test notification it send from our domain.  
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/110210i31A78372252ED78E/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Egor
body: Hi Rohit,  

Thanks for reaching out!   

I found that your question was answered over the support ticket.   

In case there's anything else we can help - please let us know.  

Thank you,  
Egor


Tags: cloud
Why wasn't the latest GitHub incident included as an incident in Statuspage?
Asked by Lee Zen:

<https://www.githubstatus.com/incidents/pbz6fh7mz86w> but the third-party component doesn't show any incidents.


Answers:
author: Zach
body: Hey Lee

Great question!

The third party component will only change its status when it is selected as an affected component for a given incident, and put into a degraded state. You might be able to get more information on why the given component wasn't selected as an affected component by reaching out to the Github support team.


Tags: github
How many components we can add in Hobby and strat up plan in Statuspage
Asked by Dadapeersab Hulamani:

How many maximum components we can add in Hobby and start up plan in Statuspage.

I am not clear this point in the link - <https://community.atlassian.com/t5/Statuspage-articles/Statuspage-Buyer-s-Guide/ba-p/1047902>

[https://www.atlassian.com/software/statuspage/pricing?\&aceid=\&adposition=\&adgroup=98793281999\&campaign=9727779305\&creative=439476652554\&device=c\&keyword=%2Bstatus%20%2Bpage%20%2Bpricing\&matchtype=b\&network=g\&placement=\&ds_kids=p52662557835\&ds_e=GOOGLE\&ds_eid=700000001541417\&ds_e1=GOOGLE\&gclid=EAIaIQobChMIrMvK0NDh6wIVxwJ7Ch26gg9kEAAYASAAEgLPuvD_BwE\&gclsrc=aw.ds](https://www.atlassian.com/software/statuspage/pricing?&aceid=&adposition=&adgroup=98793281999&campaign=9727779305&creative=439476652554&device=c&keyword=%2Bstatus%20%2Bpage%20%2Bpricing&matchtype=b&network=g&placement=&ds_kids=p52662557835&ds_e=GOOGLE&ds_eid=700000001541417&ds_e1=GOOGLE&gclid=EAIaIQobChMIrMvK0NDh6wIVxwJ7Ch26gg9kEAAYASAAEgLPuvD_BwE&gclsrc=aw.ds)


Answers:
author: Daniel Eads
body: Hi Dadapeersab, welcome to the Community!

The key differentiator with components on the hobby and startup plans is that **component-level subscriptions** are not available until you get up to the Business plan. Component-level subscriptions allow your subscribers to decide if they want notifications about only some of your components (which they get to select) as opposed to updates for everything on your page.

The number of components you can create is not limited by the plan type. Hope that clarifies things for you!

Cheers,  
Daniel


Tags: cloud

confluence

confluence-cloud