youngmon/atlassian-qna huggingface dataset:
Elastic Bamboo Default Image does not support svn:externals for single-file targets
Asked by Benito Lobo:

We are trying to use the default image in Elastic Bamboo for several of our project's builds. We are using SVN 1.6 clients and leveraging the new 1.6 single-file targets feature for 'svn:externals'. We noticed that our builds were failing when trying to download these files. However when we modified our 'svn:externals' definitions to use folder targets instead of single-file targets the builds were successful, We upgraded SVN version from 1.5.6 to 1.6.17, We manually checkout the code and built it in the instance using ssh and everything work perfect but when we trigger the plan on jira it failed again. Please can someone help us with this issue?


Answers:
author: LucasA
body: You can perform the necessary changes using customised-extras.sh script inside an EBS volume (or perform the nessary modification at the boot time, if you want).

If you need further assistance, please raise a support ticket on <https://support.atlassian.com>


Tags: cloud
Bamboo Version
Asked by Craig Kennedy:

We recently updated our Jira Studio instance to OnDemand. I was under the impression that once we did this, we would be on the latest version of all the software, but when looking at the system information, I still saw this for the version number of Bamboo: 3.0.4-studio-4. When will OnDemand be using version 3.4?


Answers:
author: NikE
body: Looking forward, we are planning on updating the application version in OnDemand at the same time it is released into the wild for download. Currently, though, we are falling behind on this while we work to complete all of the migrations onto the platform.

Unfortunately, I don't have a date or time estimate for when Bamboo will be updated other than "the near future"...that being said, we recognize that this upgrade is a priority for many users and we will update it as soon as possible (the current list of OnDemand versions is [here](https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions)).

comments: author: Craig Kennedy
body: My biggest concern is that we are looking for Windows support with Bamboo as we are a .NET development shop and I'm not really interested in setting up any custom instances with AWS. Thanks for your answer and I will keep checking for updates.


Tags: cloud
Bamboo Artifact encodes spaces in artifact filename as + rather then %20
Asked by Ralph Roper:

Bamboo server 3.4.3 on Linux that runs plan on remote agent hosted on WinXP. Plan runs geb(selenium) web tests that saves screen shots as png files.The filenames of the png files contain spaces.

I have configured Artifacts for this plan to pick up the png files. In Bamboo I see the filename but the browser will not display the file because the spaces in the filename have been replaced with +. If I manually replace the + with %20 then the browser shows the file.

eg of Bamboo artifact url

/artifact/QWT-CORE/JOB1/build-7/geb-reports/com/qcomp/qcj/webtest/involvedParty/QCJ126ViewAliasSpec/001-001-navigate+to+person+involved+party+dashboard+and+verify+alias+shown-end.png


Answers:
author: Przemek Bruski
body: Looks like a bug, I've opened an issue for it at <https://jira.atlassian.com/browse/BAM-10842> Please watch and vote.


author: Przemek Bruski
body: Are you accessing Bamboo directly or is it fronted by Apache?

comments: author: Ralph Roper
body: hi Przemek,

we are accessing Bamboo directly.
Why don't capabilities show in drop down when creating a Task?
Asked by Serge Dukic:

Hi,

We're running Bamboo 3.2 and want to create a Maven 3.x task. When selecting the executable for the task, there is ony one choice in the drop down "Maven 3 (Windows)", even though we have several other capabilities declared on our various build agents.

Why would it not be showing the rest of the executables that are defined? Does this have anything to do with the rest of the build requirements?


Answers:
author: Serge Dukic
body: After upgrading to Bamboo 3.3, the problem has gone away.


author: James Dumay
body: Serge, can you check that those other capabilities are Maven 3 capabilities and not Maven 2 capabilities? The Task capability dropdown filters so that you only see capabilities for the given Task type.

comments: author: Serge Dukic
body: They're definitely created as Maven 3.x executables, but just don't come up in the drop down.


Tags: executable

maven

task
Checkout from repository based on a dynamic tag i.e) parameterized checkout
Asked by Hanif R:

Hi I have a project A and a project B ('project' as in normal sense of the word - not a bamboo project per se). Project B depends on project A's libraries and source. So I have setup a plan with 2 jobs that run in stages. Job 1 checks out project A, builds it, creates a jar artifact and makes its libraries and the jar available as shared artifacts. Job 2 checks out project B, builds it, consumes the artifacts of job 1. Now, project B contains a manifest file which describes which cvs tag version of project A it requires. As such, I've setup the following ant property in project B's build file:  
\<project name="projectB" basedir="."\>  
......  
\<loadproperties srcfile="/META-INF/MANIFEST.MF" /\>  
\<property name="CVS-Required-ProjectA-Version" value="${Required-ProjectA-Version}"/\>  
......  
\</project\>   

And under job 1's source repository tab, under the Branch/Tag Name field, I've put: ${bamboo.CVS-Required-ProjectA-Version}. The build fails miserably and a popup comes up telling me that I'm a dumb dumb in bold caps with several ensuing exclamation marks. I didn't think it would work as I figured Bamboo wouldn't know where or how to resolve 'CVS-Required-ProjectA-Version' but I couldn't find any real docs or help. Any help suggestions would be greatly appreciated!


Answers:
author: Hanif R
body: Please Note that job 1 is using the build file from project A and job 2 is using the build file from project B. The cvs tag is defined in project B's build file but the checkout for project A is defined in the source repository section of job 1 for project A. (Hope that makes sense!) So I need for that ant property to be read within job 1 - or some other solution that makes sense.
Bamboo gadgets in JIRA are not appearing when accessed through a network outside the company network
Asked by AkshathaK:

I have added bamboo gadgets in JIRA dashboard which works fine when accessed within the company network. But when it is accessed outside the network, the bamboo gadgets keeps on loading without displaying any output. When i opened firebug there was a error saying, 'data is undefined'/'user is not authorised' . Can anyone help me on this issue?

Thanks in Advance,

Akshatha


Answers:
author: Przemek Bruski
body: Gadgets are only embedded in JIRA, but they communicate directly with Bamboo - is your Bamboo accessible outside the company network?

comments: author: AkshathaK
body: Yes, Bamboo is accessible outside the company network.


author: Jobin Kuruvilla [Adaptavist]
body: Are the applinks created using public Bamboo url or your internal private url?


author: AkshathaK
body: Yes, the application is using internal private url. However, the same application can be acccessed using public url. But only the gadgets are not appearing.


Tags: gadget

jira
Is the 10 job limit on the Bamboo starter licence 10 jobs at a time or 10 jobs ever?
Asked by Nick Koirala:

I haven't purchased or tried out Bamboo yet but happy with all the other products I do have.

Just wondering if you can deactivate or delete old jobs (finished projects) and gain a slot back or if once 10 jobs have been created the only option is to go from a $10 licence to an $800 one :). Just preparing myself for what I might be getting in to.

Cheers,

Nick


Answers:
author: Przemek Bruski
body: Hi Nick,

deleted Jobs will not count towards your 10 Job limit. (You may have to wait a couple of minutes after the deletion to ensure that the changes has propagated to DB though).

comments: author: Adam Collins
body: Hi Przemek,

Please can you confirm if disabling the jobs will have the same effect.

It seems excessive to require the job be deleted entirely to not count towards the limit.
ChainActionSupport#getChainResult() returns null ChainResultsSummary
Asked by Akira Tsuchiya:

I want to retrieve Plan result history like in <http://localhost:8085/browse/SVNPRJ-SVNPLAN/history>

by using ChainActionSupport.

For that purpose, I called the ChainActionSupport#getChainResult() by [http://localhost:8085/browse/SVNPRJ-SVNPLAN/test.action?planKey=SVNPRJ-SVNPLAN.](http://localhost:8085/browse/SVNPRJ-SVNPLAN/svnSuite.action?planKey=SVNPRJ-SVNPLAN.)

But the method returns null.

What should I do to get a not null ChainResultsSummary instance?


Answers:
author: Przemek Bruski
body: You need to use com.atlassian.bamboo.resultsummary.ResultsSummaryManager methods. getChainResult works if you supply a specific chain result as action parameter - otherwise how would it know what to return?
Plan Sub Menu Screen Look and Feel Issues
Asked by Akira Tsuchiya:

I created a new Plan Sub Menu using a ftl file.

I inserted sections from Latest Status Holder through Plan Navigation in the corresponding ftl file.

But there are two problems.

Take a look at the snapshot below.

Issue 1: The overall Plan Sub Menu screen moves a little bottom right compared with other screens.

Issue 2: The background color cannot be changed.

Are there any solutions?

![](../../upfiles/NewPlanSubMenu_1.png)


Answers:
author: Akira Tsuchiya
body: Thank you for your contact.

I have resolved this issue on my own.

The ftl file must contain the meta tag below.

\<head\>  
\<meta name="decorator" content="plan"\>  
\<meta name="tab" content="\*\*\*Item"/\>  
\</head\>


author: Jason B
body: Hi Akira,

Could I ask what version of Bamboo you're using and what decorator is in use? Also, could you show me the markup in your FTL file?
Bamboo on AIX Server
Asked by Sebastien Chenier:

It is possible to install Bamboo on AIX Server ?


Answers:
author: Sebastien Chenier
body: I think the issue was because the environment variable JAVA_HOME was not define


author: Przemek Bruski
body: First, you have to install IBM JDK on that machine (or find it on your filesystem). Ask your AIX admin to install the appropriate filesets (or if he did, how to set up your PATH).


author: Sebastien Chenier
body: Yes, i mean Bambo Server on AIX.

When i tried to start Bamboo i got the following on the log:

sh: java: not found.


author: Przemek Bruski
body: I assume you're asking about Bamboo Server on AIX, not Bamboo Agent.

While I haven't tried installing it on AIX, if you want to do it, make sure you're using Bamboo 3.4.x, it's more compatible with non-Sun/Oracle JDKs than previous Bamboo versions.

Also note that such configuration would be unsupported, because you'd have to use IBM's JVM. If you face any problems, you can try posting your questions on Answers, maybe we will be able to help you.

comments: author: Sebastien Chenier
body: Yes, i mean Bambo Server on AIX.

When i tried to start Bamboo i got the following on the log:

sh: java: not found.
Bamboo - Is MS Lync supported for IM Integration?
Asked by Soumya Pal:

We are trying out Bamboo in our company as a trial. We already use Confluence, JIRA and GreenHopper. Currently w are using Hudson for CI and would like to move to Bamboo if it allows us to do IM integration with Microsoft Lync. We recently moved to Lync for our corporate IM mesaaging.

The idea is we have dedicated Lync IM account which we plug in with Bamboo and CI and that send instant IM messages to all interested parties working in a Agile team.

I was able to test it with Gtalk and it worked a treat.

However when I tried to connect to Internal MS Lync connect server it cannot locate it. I have checked and there is no Firewall. I am using a uvalid Lync username. Not using a password as it uses TLS for authentication. Any idea which port we should try to connect?

Anyone who has sucessfully connected to Lync please advice,.

Moreover is MS Lync at all supported by Bamboo? Didn't find any documentation on it.

Thanks

Soumya


Answers:
author: Raj Prasad
body: Dosnt look like it's supported yet.

see <https://jira.atlassian.com/browse/BAM-13385>


author: Przemek Bruski
body: Do you have XMPP gateway enabled on your Lync Server?

comments: author: Soumya Pal
body: Yes. we have.


author: Przemek Bruski
body: Is the gateway port reachable from Bamboo? Are you able to set up a sniffer on Lync to see if there's anything going to that port from Bamboo Server?


Tags: chat

ms-lync
Change MTU for Bitbucket Pipelines Docker Daemon
Asked by J?nos Mik?:

I'm running the Bitbucket Pipelines Runner in our Rancher based Kubernetes cluster. It registers well, and I am able to run basic Pipelines and everything is going fine until some steps of the Pipeline has to download a large file. (In our case it was npm install)

I tried to search everywhere and I found a possible issue with network MTU.

The MTU size on the server is 1500, but the Kubernetes Network Provider is using 1450. I tried to update DIND to use the following settings:

```
- name: docker-in-docker
  image: docker:20.10.7-dind
  args:
    - "--mtu=1300"
```

Now if I attach to the Bitbucket Runner container (atlassian/bitbucket-pipelines-runner), I can see the following setting in \`docker network inspect bridge\`:

```
./docker network inspect bridge | grep mtu
"com.docker.network.driver.mtu": "1300"
```

Sadly if I attach from here to a pipeline container (or the atlassian/bitbucket-pipelines-docker-daemon container) I will still see the original:

```
docker network inspect bridge | grep mtu
"com.docker.network.driver.mtu": "1500"
```

Is it possible somehow to change the MTU for the bitbucket pipelines docker daemon?

Regards,

Janos


Answers:
author: Alex Martin
body: Hey, had same issue as you. Found this guide helpful. <https://janosmiko.com/blog/2021-09-08-bitbucket-pipelines-runners-in-k8s/>


Tags: bitbucket-pipelines

bitbucket-runners

docker

server
Problem when running Bamboo agent as a Windows service
Asked by Heather Wells:

I have a Bamboo agent on a Windows 7 machine. When I start the agent from the command line, my builds work fine. When I install the agent as a Windows service, the builds hang.

The build in question depends on an executable which is in the system PATH variable. When running Bamboo as a Windows service, it gets to the point where it needs to use that executable and the build hangs. I'm not sure if the agent is unable to find the executable in the PATH or if something else is wrong.

I've tried installing the service both with the local system account and with the same user as I used when running it manually. I get the same result each time.


Answers:
author: Heather Wells
body: It looks like the problem was actually Microsoft Word, which doesn't behave well in an automated environment. Even if the service is run as a user, Word will still run as the Local System account. The workaround is described here:

<http://social.msdn.microsoft.com/Forums/en-US/innovateonoffice/thread/b81a3c4e-62db-488b-af06-44421818ef91>

comments: author: Joe Clark
body: Ah, that old chestnut. A real pain.


author: Kepio
body: The work around in the above thread worked for me - in my case, I had to create the following folder to allow excel to run within a bamboo agent session

C:\\Windows\\SysWOW64\\config\\systemprofile\\Desktop


author: Joe Clark
body: * Try temporarily configuring your build to use a well-known executable on the system $PATH to see if you can isolate the problem to RHCL.exe (eg. try just running the "echo" command or somehting like that).  

* Does RHCL.exe interact with the Windows desktop at all? If so, you'll need to grant "allow service to interact with desktop" permission to the service.   

* What user account is running the bamboo service? Make sure the user has read and execute permissions on the executable.  

* If the exe requires administrator permissions, try turning off User Access Control on your bamboo agent.


author: Przemek Bruski
body: Is it any well known executable or an internal one?

comments: author: Heather Wells
body: It's the command-line tool for RoboHelp (RHCL.exe). This is the only area of our builds that requires a Windows machine to run, so it's the only time I've encountered this problem.


Tags: windows
Is it possible to specify a repository without it being checked out?
Asked by Craig:

My environment:

I have a build with multiple stages. Only the first stage requires the source repository (it does the build). After that artifacts are used to share the build output with the other stages.

My assumptions/understanding:

1. If a source repository is specified (i.e. Use Plan's Repository) then it will check out all the source.

2. Without a source repository the revision number variable isn't set (${bamboo.repository.revision.number})

My problem:

In my final stage I want to copy the artifact files to a folder that has the revision number in its name. However to use the revision number I seem to need to have the repository set, which then checks out the source, even though I don't need it.

My thoughts/questions:

Is there some way the revision is accessible across the whole plan?

Is it possible to specify a repository without it being checked out?


Answers:
author: Craig
body: I took the approach suggested by Renjith V \[NSN\], and after a bit of tinkering with powershell was able to use the contents of a file from stage 1 as arguments in stage 3.


author: Renjith Pillai
body: You should be able to artifact in the first stage itself using the version number also and then in the third stage copy the artifact from 1st stage to 3rd stage. Feasible?

<http://confluence.atlassian.com/display/BAMBOO/Configuring+Artifact+Sharing+between+Jobs>

comments: author: Renjith Pillai
body: Oh! Guess that may not be directly possible, but I am not sure. A simple workaround will be to touch a file with the version number in stage 1, make that an artifact and pass that artifact to stage 3, and it will contain the version number.


author: Craig
body: This is what I am doing and it is working as far as making the artifacts available in stage 3.

However what I want to do in stage 3 is use the version number as a variable in a command task, and at the moment doing so results in dummyVcsKey. The reason I do this in stage 3 is I only want to run the command if the tests (stage 2) have succeeded.


author: Przemek Bruski
body: You can't put it into a variable. But, if you use a script task instead of a command task, you can pretty easily read the artifact content into a script variable (well, at least on Unix) and pass it to a command you want to run.


author: Renjith Pillai
body: But without getting the repository checked out how are you able to get the artifact files, are they not dependent on the files coming from the source files?


author: Craig
body: I only need repository checked out for the first stage, but these tasks are in the third stage where they use the artifact generated by the first stage.
Uploading Bitbucket pipeline artifacts to sharepoint
Asked by yashoda.chandrasekara:

I've been searching for a way to upload the pipeline artifacts to SharePoint using the SharePoint API. However, I could not find anything about how to do that from bitbucket side. The artifacts are already being deployed and can be found in the download section. In the Atlassian support it says " there is a way to send your artifacts to 3rd-party storage and create a link in your commit view, using the [Bitbucket build status API](https://confluence.atlassian.com/bitbucket/integrate-your-build-system-with-bitbucket-cloud-790790968.html)." But the link they have provided does not provide a clear approach.

How can I use these artifacts and upload that to the SharePoint or any 3rd party storage?


Answers:
author: andytomlin
body: [@yashoda.chandrasekara](/t5/user/viewprofilepage/user-id/4557410) did you get this working?


author: Theodora Boudale
body: Hi [@yashoda.chandrasekara](/t5/user/viewprofilepage/user-id/4557410) and welcome to the community.

Have you tried using a Sharepoint API call during the Pipelines build?

You can edit the bitbucket-pipelines.yml file and either create a new step that executes this API call or add the API call in one of the steps where these artifacts are available.

If you need to authenticate in order to execute the API call, you can define [variables](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/#User-defined-variables) for any passwords/tokens (and make them "Secured" so they won't be visible in the Pipelines log) and use them in the API call.

Kind regards,  
Theodora


Tags: bitbucket-pipelines
Can I restore deleted repository?
Asked by Minyeong Song:

I deleted a repository by mistake but I'd like to recovery it

I know repository folder location in bitbucket server. I think it still alive in server

Can I create new repository from repository folder in Bitbucket server?


Answers:
author: Johannes Kilian
body: As you wrote: "*I know repository folder location in bitbucket server. I think it still alive in server*" it seems you just deleted your local copy. Therfore this should be a simple task:

\* Just browse to the desired repository within Bitbucket-Server Web-Interface,

\* get the Repository-URL from there ("Clone" icon on the toolbar on the left)

\* and do a simple "***git clone*** *\<Repository-URL\>"*on your local machine.


Tags: bitbucket-server

server
Unable to connect to bitbucket via ssh using docker-compose
Asked by Aron Greenspan:

docker-compose file:

```
ARG SSH_PRIVATE_KEY
RUN mkdir ~/.ssh/
RUN echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
RUN chmod 600 ~/.ssh/id_rsa
RUN ssh-keyscan bitbucket.org >> ~/.ssh/known_hosts
```

getting:

```

git@bitbucket.org: Permission denied (publickey).?
```

when reaching the yarn install command


Answers:
author: Aron Greenspan
body: It was because the ssh key i'd used had been created with a passphrase. I made a new one without and it worked without issue.


author: Mark C
body: Hi [@Aron Greenspan](/t5/user/viewprofilepage/user-id/4557010)

Welcome to the community.

To debug your Docker composer container further, would you be able to add the below command?

```
ssh -Tvv git@bitbucket.org
```

This will give you more information about the "Permission denied" error message you're getting.  
Let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

docker
Atlassian Bitbucket v7.5.0 compatible with PostgreSQL version 13.2
Asked by chappie:

Atlassian Bitbucket v7.5.0 compatible with PostgreSQL version 13.2


Answers:
author: Nic Brough -Adaptavist-
body: *** ** * ** ***

*** ** * ** ***

See <https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html>


author: chappie
body: thank you