youngmon/atlassian-qna huggingface dataset:
Temporary Bamboo Build Artifacts
Asked by Cameron Ferguson:

I have been using Bamboo for quite awhile, so I know a lot of the ins and outs of it already, however one thing has always perplexed me on handling artifacts.

Is there anyway to have "temporary" artifacts within a build so I can share between jobs/stages?

For instance. I am building a product that delivers both 32bit and 64bit architectures internally in our studio with 1 zip file. I have parallel jobs running on multiple build agents. One agent builds 32bit, the other builds 64bit. Each capture their own artifact respectively.

I have a post-build stage where a job combines both of these artifacts together to make the end-product. However I am still storing the individual artifacts pieces from the previous stage and that takes up room on the Bamboo server.

I'd love to be able to tell Bamboo to "disregard" artifacts at a particular job level and only store the 1 end product so I can parallelize my build to multiple agents for faster build times of the end product. The only way I see to share artifacts between multiple stages within a plan is to mark them as "shared" - but that in turn gives them permanence on the Master bamboo server, storing large artifacts that serve no purpose for the end product.

Am I simply approaching bamboo wrong in this regard? Are you not meant to build 1 product across multiple systems to in the end just build 1 deliverable?

Thanks,

Cameron


Answers:
author: Przemek Bruski
body: It's not possible at the moment. It's a perfectly valid feature though.

comments: author: Cameron Ferguson
body: Appreciate the response. I'd love to see this feature get added though, I think it'd make the plans more robust in their capabilities.

I could seen when defining an artifact, it has a check-box that marks it as "temporary" and after the completion of the plan it would delete the shared artifacts - however that might cause problems with re-running failed jobs that depend on other previous jobs artifacts. Could be tricky to implement I imagine

For now I will just store the shared pieces and expire the plans as to help save space (should be ok for our situation)


author: Tim Crall
body: The best place to post feature requests is jira.atlassian.com.


author: Alexey Chystoprudov
body: Please vote at <https://jira.atlassian.com/browse/BAM-12192>


author: Cameron Ferguson
body: Done! Thanks for finding that!
How to get the list of all Bamboo agents via REST
Asked by Xabier Davila:

How can I get the list of all Bamboo agents via REST?

I need it for several automated reports, monitoring, etc.

I've seen the [ages-api](https://eddiewebb.atlassian.net/wiki/display/AAFB/Agent+State+Operations), but as far as I can see it does not provide the list of agents.


Answers:
author: Steffen Opel _Utoolity_
body: ### REST API Documentation Status {#toc-hId-1484091013}

The [Bamboo REST API guide](https://developer.atlassian.com/bamboodev/rest-apis) is a bit confusing/misleading currently, insofar the [Bamboo REST resources reference guide](https://developer.atlassian.com/bamboodev/rest-apis/bamboo-rest-resources) linked from the *Getting Started* section is incomplete/outdated. The current REST API documentation is only referred to from an info tip on that page in turn:
> [API reference for your Bamboo version](https://docs.atlassian.com/bamboo/REST/) is the recommended source of information on Bamboo REST APIs.

### Agents Resource {#toc-hId--1068065948}

As per the resp. Bamboo 5.10.3 [REST API Documentation](https://docs.atlassian.com/bamboo/REST/5.10.3/), a `GET` on the [/agent](https://docs.atlassian.com/bamboo/REST/5.10.3/#d2e251) resource *provides a list of all agents*:
> Use query parameter "online = true/false" to filter only online agents.

comments: author: Xabier Davila
body: Thanks, that's exactly what I need, with the exception I'm still on Bamboo 5.7.2. Do you know what release added this funtionality? Can't see it in the [Release Notes](https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html)


author: Steffen Opel _Utoolity_
body: Good question - briefly checking the available [REST API versions](https://docs.atlassian.com/bamboo/REST/) suggests that this has indeed just been added to the [Bamboo 5.10.2 API](https://docs.atlassian.com/bamboo/REST/5.10.2/) recently, i.e. previous versions still lack the `/agent` resource, surprisingly.


Tags: bamboo-administration
How to trigger a bamboo deployment after jira status change
Asked by slimatic:

Any ideas or solutions for triggering a bamboo deployment after a JIRA issue has been moved or transitioned to another status?

E.g. Issue moves to QA/Review. Once this has been moved out of QA/Review to done, the transition workflow should trigger a deployment in bamboo.

Any thoughts?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You can use webhooks to trigger the deployment. Use the Bamboo rest API in the webhook url.

See <https://developer.atlassian.com/jiradev/jira-apis/webhooks#Webhooks-Addingawebhookasapostfunctiontoaworkflow> for more details.

comments: author: Vinesh Kumar
body: Hi Jobin, I am geeting 401 error while running using webhook to run job in bamboo. could you please confirm how we can resolve this error?


author: Jobin Kuruvilla [Adaptavist]
body: 401 indicates unauthorized access. Seems you do not have the right permissions.


author: Dmitri Abrosov [Teamlead]
body: Hi Jobin. I have the same problem. How can I give the right permissions?

My JIRA and Bamboo use the same Crowd user directory and have Application links configured correctly. Also user transitioning JIRA issue has the permission to run Bamboo builds.


author: Jobin Kuruvilla [Adaptavist]
body: Try logging into Bamboo using the same user id and see if you are able to run the build.


author: Dmitri Abrosov [Teamlead]
body: Yes, I am able to run the build with the same user id.

Any more ideas?


Tags: jira
appcfg.py: command not found
Asked by Maksim Luzik:

I am trying to to deploy my project using Bamboo. I can do the deployment manually from running deploy script on the bamboo agent. But when creating a deploy plan and running it I get the error that

appcfg.py: command not found

appcfg.py is Google App Engine script. App Engine is installed on the Bamboo agent as I can deploy it running from agent myself. The bamboo-agent is running under ubuntu user name (same user that I deployed manually from bamboo agent)

When running which appcfg.py I get the location:  
/usr/lib/google_appengine/appcfg.py

/usr/lib/google_appengine is added to PATH in:  
/etc/bash.bashrc

Where is the catch?


Answers:
author: Luke Peterson [finder.com.au]
body: Have you tried running 'ps -p $$' from a build task to confirm it's actually running within a bash shell and not the default /bin/sh shell?

comments: author: Maksim Luzik
body: Thanks Luke, it seems indeed that the Bamboo is running from sh shell...


Tags: cloud
upgrade bamboo
Asked by Brett Higgins:

We've outgrown the number of Bamboo builds permitted on our current license. After failing to see how I could upgrade via the admin console and searching FAQ points to the need to the need to raise a service ticket. Can you please upgrade. Cheers, Brett


Answers:
author: Nic Brough -Adaptavist-
body: Go to your my.Atlassian account which you used to buy Cloud Bamboo and add more users to the service in there. You don't need to contact support for that unless it's not working for some reason.


author: Brett Higgins
body: Hi Nic,

My questions was not regarding adding new users. We've reached the "Up to 10 jobs" limit, and we're wishing to upgrade our Bamboo license without interruption to the existing jobs that we've already configured. Can this be done?

Actually I'm surprised that you do not have a one-click upgrade sales process when a user has or is reaching their limit. May be a suggestion for the internal sales and dev team to think about. It would be interesting to see the behaviour of your customers whom reach the limit e.g. time to convert (if they do) and loss revenue opportunity.

Cheers, Brett

comments: author: Luke Peterson [finder.com.au]
body: Brett, You need to raise a support ticket to add more agents above your license limit. There is no other way currently. (having just gone through this myself)


author: Brett Higgins
body: Thank you Luke for the direction and confidence to continue.

I finally registered a support request after going through the Atlassian UI round-about and stumbling across the "[Create Issue](https://jira.atlassian.com/secure/CreateIssue!default.jspa "Create a new issue")" in quick links on the systems dashboard.

Tip for others who read from left to right, pay no attention to the introduction specifically "If you have a **production problem**, question etc, please [raise a private support issue on support.atlassian.com](http://support.atlassian.com/)" as this send you on the roundabout ride.

Cheers, Brett


author: Alexey Chystoprudov
body: Atlassian Answers is not right place for such requests. Please do it at support.atlassian.com


Tags: cloud
Setting the Bamboo Context Path Creates LoginPage error
Asked by A:

Hi Everyone,

I changed the context path of bamboo server.xml according to this document: -\> https://confluence.atlassian.com/display/BAMBOO053/Changing+Bamboo's+root+context+path

then, going into the login page, I receive this http 404 not found error.

and it is directing to the path without context path. I set the context path into /bamboo but the login page is instead directing to:

\<IP Address:Port\>/userlogin!default.action?os_destination=/start.action

note the absence of /bamboo context path after the ip address and port.

Is there a config file I also need to edit?

Thank you.


Answers:
author: A
body: Found it! :-\> <https://answers.atlassian.com/questions/37540518>#

The article I was previously following mentions editing the base url after adding the context path inside server.xml. The way of doing it lets you start the service then log-in into the webpage first before going to the webpage to edit the base url, which will not work since the log-in webpage is not working.

It did not mention editing the administration.xml (backend method) which is suggested by the community answer.

Following the step mentioned in the community answer, the base url is edited inside the administration.xml, before starting the service. This would modify the base url so the log-in page can be displayed.

Now it works! :smile:


author: A
body: In addition, no proxy settings are being used. This is still in http mode.


Tags: bamboo-administration
Email won't send after upgrading to Bamboo 5.10.3
Asked by David Mills:

We recently upgraded from Bamboo 5.9.1 to 5.10.3. Since then we have not received any email notifications. I checked the catalina.out file and found:
> 2016-04-11 11:48:24,095 ERROR \[http-nio-8085-exec-23\] \[EmailService\] Failed to send email
>
> com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechanisms supported by both server and client  
> at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:214)  
> at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:151)  
> at com.atlassian.bamboo.mail.EmailService.sendEmailSynchronously(EmailService.java:137)  
> at com.atlassian.bamboo.mail.BambooMailer.send(BambooMailer.java:84)  
> at com.atlassian.bamboo.ww2.actions.admin.mail.ConfigureMailServer.testSMTPServer(ConfigureMailServer.java:190)  
> at com.atlassian.bamboo.ww2.actions.admin.mail.ConfigureMailServer.doEdit(ConfigureMailServer.java:133)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
> at java.lang.reflect.Method.invoke(Method.java:498)
>
> ...etc...

The Stash server which is on the same host is still successfully sending emails.

I have tried No TSL, TSL, no password, password, etc. all to no avail.


Answers:
author: David Mills
body: In our case we had cleared the username and password used to connect to the SMTP server so that we would use anonymous SMTP connections. But it seems that to get this to take effect, Bamboo itself has to be restarted.


author: boris_alyurov_prcm
body: This is resolved now. We change the email configuration to use TLS. It would have been great if this gotcha issue was documented in the release note.

Thanks


author: Alexey Chystoprudov
body: @Boris Alyurov, please create support request at support.atlassian.com.

JavaMail was updated in Bamboo 5.10.3 from 2.4.1 to 2.5.12 and some clients had issues with Microsoft Exchange server access. Our support engineers will help you


author: boris_alyurov_prcm
body: Is there any solution to it? We liked to have email notifications


author: Krystian Brazulewicz
body: Presence of a JAR is not an issue here. Bamboo-5.10.3 uses more recent version of javax.mail package and JAR file is now located in `WEB-INF/lib/javax.mail-1.5.2.jar`


author: David Mills
body: Just found that atlassian-bamboo-5.9.1/atlassian-bamboo/WEB-INF/lib/mail-1.4.1.jar exists but atlassian-bamboo-5.10.3/atlassian-bamboo/WEB-INF/lib/mail-1.4.1.jar does not (nor any other version of the same).

Tried copying it in pace - but to no avail.


author: Alexey Chystoprudov
body: Create support request at support.atlassian.com to get help from our support engineers


Tags: bamboo-administration
How do I authenticate against my LDAP server anonymously?
Asked by splatteredbits:

Our Active Directory LDAP server allows anonymous connections so I'd like Bamboo to connect anonymously. When I omit the `securityPrincipal` and `securityCredential` elements from atlassian-user.xml file and use paddle to test my LDAP settings, I'm told:

\> Username is missing from configuration, and anonymous authentication not configured

**How do I configure anonymous authentication?**


Answers:
author: Chris
body: Your Active Directory Domain Controllers should not be configured to allow anonymous binds. That's a massive security hole. The LDAP RFC specifications stipulate that LDAP binds should support credential exchange so there is no need to ever allow anonymous binds in AD. I strongly advise you ensure your domain controllers have anonymous binds disabled and set up a limited, read only account in AD that you can use to perform lookups with. Your bind account should be put into its own organizational unit, and not be a member of any groups except "Domain User", and have group policy applied to it that explicitly denies it permission to:

1. Log in as a service.
2. Log in via terminal services (RDP)
3. Log in locally.
4. Interact with the desktop.

Also, all of your LDAP settings go in **atlassian-user-custom.xml**, as LDAP/AD is a custom repository for Bamboo.


Tags: atlassian-user.xml

bamboo-administration

ldap
Multiple Local agents - running simultaneous jobs
Asked by Ajay Gupta:

Can I have simultaneous SSH connection across multiple local agents. Each SSH could be long running job?

Assume I have enough CPU/memory on bamboo server, say 16 core / 64 GB memory?

thanks in advance.


Answers:
author: Przemek Bruski
body: Yes, I don't see how this could be a problem.


Tags: agent
Bamboo agent 32 bit wrapper and 64 bit java
Asked by Mark Wolff:

I'm bringing up my 18th remote agent and I am hitting something I haven't seen.

INFO \| jvm 5 \| 2016/04/07 10:41:21 \| WARNING - Unable to load the Wrapper's native library '[libwrapper.so](http://libwrapper.so)'.  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| The file is located on the path at the following location but  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| could not be loaded:  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| XXXXXXX/bin/../lib/[libwrapper.so](http://libwrapper.so)  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| Please verify that the fileis readable by the current user  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| and that the file has not been corrupted in any way.  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| One common cause of this problem is running a 32-bit version  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| of the Wrapper with a 64-bit version of Java, or vica versa.  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| This is a 32-bit JVM.

IT did put a 64 bit Java on this machine. Is there a 64 bit JVM I can download? Or do I need a different Java?


Answers:
author: Mark Wolff
body: I deleted the bamboo home and started over. All I did was change to use a different URL for the agentServer. Go figure.


author: Mark Wolff
body: \]$ java -d32  
Error: This Java instance does not support a 32-bit JVM.  
Please install the desired version.

$ echo $JAVA_HOME  
/common/local/jre1.7.0_75


author: Felipe Kraemer
body: Hi Mark,

Can you please ensure that you have Java 64bit installed in the machine in which you're trying to install the remote agent? Also, please configure JAVA_HOME accordingly.

You can check the Java settings by running the following commands:

* `echo %JAVA_HOME%` - if on Windows
* `echo $JAVA_HOME` - if on Linux / Mac
* `java -version`

I hope this helps!


author: Mark Wolff
body: INFO \| jvm 5 \| 2016/04/07 10:41:21 \| Reported cause:  
INFO \| jvm 5 \| 2016/04/07 10:41:21 \| XXXXXXX/lib/[libwrapper.so](http://libwrapper.so): XXXXXXX/lib/[libwrapper.so](http://libwrapper.so): wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)


author: Mark Wolff
body: Bamboo 5.9.7, btw.


Tags: bamboo-administration
Publishing an artifact
Asked by Paul Jones:

Hi,

I currently have quite a simple setup. Bamboo Cloud and one remote agent running on Windows 7.

Everything is working great although the Publishing an artifact takes ages to finish. The war file is only 100mb.

I have a build plan and a deployment project that uses this war.

Is there a way to either speed this up publishing or bypass it as the remote agent doing the build will also be doing the deployment so I don't actually need the war to be uploaded anywhere.

Thanks

Paul


Answers:
author: Paul Jones
body: Hi,

I am using Bamboo cloud so don't have that option. On one machine it is taking 1 minute and on another it is taking 20 minutes.

comments: author: Jobin Kuruvilla [Adaptavist]
body: Ah ok. You will need to work with Atlassian support then!


author: Paul Jones
body: Hi,

How and where do I do that?

Thanks


author: Jobin Kuruvilla [Adaptavist]
body: Raise a ticket at support dot Atlassian dot com.


author: Jobin Kuruvilla [Adaptavist]
body: You will need to publish it if you need it on the deployment project.

Have you tried running the build on the local agent only? That should remove the network latency issues. If that is not an option, you will have to debug the network speed.


Tags: cloud
Is there a way to rename a customer portal form?
Asked by Zaldy Parian:

Hi all,

Navigating to Project \> Project settings \> Forms, I copied a form to another project. But in that project, I wanted to rename the form and assign it to a request type.

How do I rename the existing form?


Answers:
author: Asha Goyal
body: Hello [@Zaldy Parian](/t5/user/viewprofilepage/user-id/1191073)

Kindly refer to the doc from Atlassian:

<https://support.atlassian.com/jira-service-management-cloud/docs/create-or-edit-a-form/>

Kindly vote and Accept the ans if it helps.

Thanks

comments: author: Zaldy Parian
body: I didn't know it is just a matter of overwritting the form name to rename it. Silly me.


author: Marc - Devoteam
body: HI [@Zaldy Parian](/t5/user/viewprofilepage/user-id/1191073)

Welcome to the community.

This can be done as described by [@Asha Goyal](/t5/user/viewprofilepage/user-id/4891126) you do require of course project admin access on the other JSM project


Tags: cloud

customer-portal

forms

jira-service-management

jira-service-management-cloud
Virtual Agent & MS Teams
Asked by Ibrahim Aly:

is there a way to connect Virtual Agents to MS teams instead of Slack?


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Ibrahim Aly](/t5/user/viewprofilepage/user-id/5405067) ! Welcome to the Atlassian Community!

Virtual Agents through MS Teams is supposed to be available in the 2nd half of this year.

comments: author: Ivan Lima
body: For your reference, here's the link to the feature on the Cloud Roadmap page.

* [https://www.atlassian.com/wac/roadmap/cloud/Virtual-Agent-for-Jira-Service-Management-on-Microsoft-Teams?search=virtual\&p=02f0b98e-ff](https://www.atlassian.com/wac/roadmap/cloud/Virtual-Agent-for-Jira-Service-Management-on-Microsoft-Teams?search=virtual&p=02f0b98e-ff)


Tags: cloud

jira-service-management

jira-service-management-cloud
How to set a customer portal in Spanish while keeping the rest of portals on the site in English?
Asked by Vera Valshonok:

Hi!

One of our partners needs a portal to be built in Spanish only. Our Jira Site with different portals is in English, all the portals should stay in English and only one new portal should be in Spanish. Is it possible?

Currently I am not succeeding in translating the portal for a specific partner to Spanish.

I went to language support and added Spanish, saw translations of some things in the settings and no where else.


Answers:
author: Jack Brickey
body: [Duplicate post](https://community.atlassian.com/t5/Jira-Service-Management/How-to-set-a-customer-portal-in-Spanish-while-keeping-the-rest/qaq-p/2578777)


Tags: cloud

jira-service-management

jira-service-management-cloud
How a customer care team use jira?
Asked by Zulfiquar Ali:

How can we implement jira in customer support?


Answers:
author: Dan Breyen
body: Hi [@Zulfiquar Ali](/t5/user/viewprofilepage/user-id/5404911) welcome to the Community! I took the sample project provided from Atlassian for an IT department, copied it, and slowly just changed pieces of it to make it work in a customer support environment. Our external and internal customers get setup as Customers so they have access to the portal and Knowledge Base. Anyone who would have direct contact with customers get setup as Agents. And finally, my Developers who are already familiar with Jira, setup as Collaborators to assist on issues.

We don't have an elaborate setup yet, but coming from only using email for support, this is like night and day to what we had.

Here's an article from Atlassian comparing the differences if it would help: [customer service with JSM](https://www.atlassian.com/software/jira/service-management/product-guide/tips-and-tricks/customer-service-management#overview)

I know Atlassian continues to make improvements on how this would work in a Customer Service arena, and I'm looking forward to the changes they will be implementing.

Hope that helps.

comments: author: Zulfiquar Ali
body: Thank you very much.


author: Ra2
body: 10 July I claims for it


Tags: cloud

jira-service-management

jira-service-management-cloud
How to set a customer portal in Spanish while keeping the rest of portals on the site in English?
Asked by Vera Valshonok:

Hi!

One of our partners needs a portal to be built in Spanish only. Our Jira Site with different portals is in English, all the portals should stay in English and only one new portal should be in Spanish. Is it possible?

Currently I am not succeeding in translating the portal for a specific partner to Spanish.

1. From your service project, go to **Project settings** \> **Language support** **.**

2. Select the language of your choice from the list.

3. I see some translations of the things which are originally in English (lines of translations in the Language support)

4. Select **Save**.


Answers:
author: Marc - Devoteam
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

This can't be done, unless you set the global setting to Spanish.

Translations can achieve in some options, but not in all.

But Jira is langue responsive, so if the users using the portal have their locale settings on their laptops on Spanish the portal should show in  
Spanish

comments: author: Vera Valshonok
body: When I added Spanish language to the project + changed browser to Spanish language as default and created a testing gmail account, it worked. Thanks a lot for explanation!


Tags: cloud

jira-service-management

jira-service-management-cloud