youngmon/atlassian-qna huggingface dataset:
Is there a way to export the capabilities of a remote agent?
Asked by Dan Rumney:

One of my responsibilities is to set up remote agents at our company.

They all have the same capabilities. Right now, I set them up via the UI, but I'd like to create a reusable bamboo-capabilities.properties file. The problem is that the directions on [](https://confluence.atlassian.com/display/BAMBOO/Configuring+capabilities)<https://confluence.atlassian.com/display/BAMBOO/Configuring+capabilities>don't really help me figure out how to map what I have on my screen to contents in this file.

Is there a way to export the capabilities of an existing remote agent into a file that I can then use for a new agent?

Alternatively, are there better docs out there? For instance, how would I include the location of Node.js?


Answers:
author: Chris Fordham
body: <https://confluence.atlassian.com/bamboo/configuring-remote-agent-capabilities-using-bamboo-capabilities-properties-289276849.html> to create, but not from export.


author: Kiran01BM
body: +1 Yes..this will be a useful feature to have..


author: Chris Fordham
body: We really need this too. Question is almost 2 years old!
How to allow access for Bamboo on submodule private git repos?
Asked by Viktor Nagy:

Hi,

we store our repos at Bitbucket and they are interconnected as git submodules.

I've set up a git checkout with submodules, but it fails checking out private submodules:

```
Cloning into 'xxxxx/yyyyyyy'...14-Mar-2014 15:15:35 	Warning: Permanently added 'bitbucket.org,131.103.20.167' (RSA) to the list of known hosts.14-Mar-2014 15:15:35 	Permission denied (publickey).14-Mar-2014 15:15:35 	fatal: Could not read from remote repository.14-Mar-2014 15:15:35 	Please make sure you have the correct access rights14-Mar-2014 15:15:35 	and the repository exists.
```

How can I allow the bamboo user to access these repos as well?


Answers:
author: Paul Greig
body: Hi V,

Thanks for the example. Bamboo OnDemand does not currently support SSH transport for Git repos in OnDemand as mentioned in [](https://jira.atlassian.com/browse/BAM-12228.)<https://jira.atlassian.com/browse/BAM-12228>.

Please vote and watch on the issue as it has been recognised as a necessary feature by the product managers :)

Cheers,

Paul


Tags: cloud
Bamboo Nexus plugin?
Asked by Jack Yerabutar:

Is there a Bamboo Nexus plugin availiable?

We need to upload artifacts up to a centralized location.


Answers:
author: BejoyA
body: Have you already looked at [Bamboo Nexus Tasks Plugin](https://marketplace.atlassian.com/plugins/com.marvelution.bamboo.plugins.nexus "Bamboo Nexus Tasks")?

You can find the [documentation here](https://marvelution.atlassian.net/wiki/display/BAMNEX/Documentation+Home).
Is there a simpler way of sharing artifacts between multiple bamboo instances?
Asked by Jack Yerabutar:

We've been using Bamboo's REST API calls for this, was wondering if there is a simpiler way to do this?

-Jack


Answers:
author: Bob Swift (personal)
body: Not exactly sure what you are looking for, but [CLI Plugin for Bamboo](https://bobswift.atlassian.net/wiki/display/BCLIP) provides a Bamboo task that can retrieve artifacts ([getArtifact](https://bobswift.atlassian.net/wiki/display/BCLI/Documentation#Documentation-getArtifact)) as well as other things from other Bamboo's.
Bamboo remote agent hangs when trying to register with server
Asked by David Le:

I had a bamboo remote agent hanging when trying to register with bamboo server.

I already tried Atlassian trouble shoot/debug/install, etc... with no luck. I also disabled the firewall on both bamboo agent, and server machines. I also ping from and to both machines.

However, the agent is still hanging with the (error) "Broker URI... is invalid.

Any suggestion would be much appreciated !

- startup command:

$ java -jar atlassian-bamboo-agent-installer-5.4.1.jar [](http://my_host_name:8085/agentServer/)<http://my_host_name:8085/agentServer/>

- the last line of output (error):

INFO \| jvm 1 \| 2014/03/13 16:56:29 \| 2014-03-13 15:56:29,135 WARN \[Thread-1\] \[BambooActiveMQConnectionFactory\] Broker URI: tcp://my_host_name:54663?wireFormat.maxInactivityDuration=300000 is invalid: java.net.UnknownHostException: my_host_name

Please note that I replaced my real host name with "my_host_name" in this post.


Answers:
author: Daniel Wester
body: So a couple of things to try:

1. Telnet to :8085 on 21bamboo.zebra.lan from z21srlmwnode01.zebra.lan and see if you get the typical http responses.

2. From 21bamboo.zebra.lan see if you can do #1 to 21bamboo.zebra.lan .

3. Repeat from #1 and #2 for 54663. That will help to check the firewall or routers etc.

4. Have you tried to install a remote agent on z21srlwnode01.zebra.lan (I'm assuming that's where you have the bamboo webapp running) and see if that's running.

Are you seeing anything on the agent page?


author: David Le
body: Thank you, Daniel

My administrator said he already opened the firewall on both machines. On the remote agent machine I had the download jar file, and already executed "java -jar ...", and there was an exception java.net.UnknownHostException, and it just hung there.


author: David Le
body: After enabling debug ([](https://confluence.atlassian.com/display/BAMKB/Troubleshooting+Remote+Agents)<https://confluence.atlassian.com/display/BAMKB/Troubleshooting+Remote+Agents>)

and after restart both server and remote agent, I had this error: "Read timed out"

INFO \| jvm 1 \| 2014/03/13 18:04:55 \| 2014-03-13 17:04:55,613 INFO \[WrapperSimpleAppMain\] \[AgentContext\] Requesting fingerprint, url: [http://21bamboo.zebra.lan:8085/agentServer/GetFingerprint.action?hostName=z21srlmwnode01.zebra.lan\&version=3\&agentUuid=49052225-7f43-4f35-8129-d24054270acc](http://21bamboo.zebra.lan:8085/agentServer/GetFingerprint.action?hostName=z21srlmwnode01.zebra.lan&version=3&agentUuid=49052225-7f43-4f35-8129-d24054270acc)

INFO \| jvm 1 \| 2014/03/13 18:05:25 \| 2014-03-13 17:05:25,703 INFO \[WrapperSimpleAppMain\] \[HttpMethodDirector\] I/O exception (java.net.SocketTimeoutException) caught when processing request: Read timed out  
My admistrator said both machines do not have issues with neither firewall (already open for http and tcp) nor network throughput.
SCP based on revision
Asked by CraigT:

My appologies if this has been asked already. Is it possible to setup a deployment task such that, it's not the entire artifact that is being SCP'd to a remote server, but rather just the files between effected since the previous deploy?

[Beanstalk](http://beanstalkapp.com) has a nice deploy feature such that they drop a .revision file into the location where you deploy. That file contains the sha of the last revision which was deployed. When a new deploy occures, the .revision is checked against what is going to be deployed, and only the files which are different between the two revisions are sent. Any deleted files are also removed from the target server.

Does bamboo have similar ability? Or is it necessary for all files to be deployed each time, regardless of whether they are actually different from what's already been deployed?


Answers:
author: shari_anderson
body: What we do is tag the deployable artifacts each time then figure out what's changed. Then we only deploy those files.


Tags: cloud
How to copy Bamboo AMI image to another region?
Asked by Viktor Nagy:

Hi,

I've found the Bamboo AMI images under the US, N. Virginia region, but would like to run my own instances under the EU region.

[](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html)<http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html>

The docs say, that I should be able to make a copy of the AMI, but the "Copy AMI" option is disabled in the EC2 console. Could you tell me how can I run your images in the EU region?

I would be interested in the image that's compatible with the current Bamboo Ondemand. I guess it's this one, but I'm not sure (could not find it in your docs) [ami-430a452a](http://thecloudmarket.com/image/ami-430a452a).


Answers:
author: Przemek Bruski
body: Try using one of the command line tools (listed on the page you've linked) - maybe they'll give you a helpful error message.

You can look up the AMI ids on image configuration page. I suggest using the Ubuntu AMI. If/when Atlassian starts providing stock AMIs for other regions, Ubuntu AMI will definitely be one of them.

comments: author: Viktor Nagy
body: could you provide me recommended AMI ids? Actually, there is some problem with my bamboo ondemand ([](https://support.atlassian.com/browse/JST-91101)<https://support.atlassian.com/browse/JST-91101>), and I was struggling quite a lot by finding any bamboo ami images by simple googling.


author: Przemek Bruski
body: (I'd rather teach you to fish ;-) ) - you'll see the AMIs if you switch the region to US East.


author: Viktor Nagy
body: thx, copying the AMIs worked fine with from the CLI


Tags: cloud
Create a bamboo variable with an embedded bamboo variable
Asked by James Youngman:

I am trying to define a variable "artifactUrl" with the follow value

[http://localhost:8085/browse/TEST-TEST-${bamboo.buildNumber}](http://localhost:8085/browse/TEST-TEST-%24%7Bbamboo.buildNumber%7D)

It does not resolve the build number.

I also tried this but no luck

[](http://localhost:8085/browse/TEST-TEST-%bamboo_buildNumber%)[http://localhost:8085/browse/TEST-TEST-%bamboo_buildNumber%](http://localhost:8085/browse/TEST-TEST-%25bamboo_buildNumber%25)

Any suggestions?

Thanks


Answers:
author: Jason Monsorno
body: You can't by default, the variables are only resolve once but you need it recursively. You may want to try the [nested plugin](https://marketplace.atlassian.com/plugins/net.collabsoft.plugins.bamboo.nestedVariables).

comments: author: James Youngman
body: I tried that plugin but got the same results. :-(


author: James Youngman
body: There seems to be something special about the variable bamboo.buildNumber
Using Bamboo variables on Windows,
Asked by Peter Hitchmough:

I am trying to run the PHPUnit command in the code my Bamboo job has checked out.

Using advice in another post I set a custom capability: build_dir=D:\\bamboo\\xml-data\\build-dir.

Then in my task I set an environment variable:   
BUILDROOT="${bamboo.capability.build-dir}/${bamboo.buildKey}"

I get the error on running the task:   
Unable to find executable at ${BUILDROOT}/vendor/bin/phpunit.bat

Any help would be appreciated.


Answers:
author: Jason Monsorno
body: You can't use the bamboo variable in the executable path but there are work arounds.

1. Use a script task

* Long way to illustrate a point other might need. Inline script: ${bamboo.build.working.directory}\\vendor\\bin\\phpunit.bat
* Short way and more proper, script file vendor\\bin\\phpunit.bat

2. Make a custom executable for your purpose at an absolute location ex. C:\\RunPhpUnit.bat

* Allows control and audit of server capabilities
* Add ${bamboo.build.working.directory} to the arguments each time it is used and use it inside your script to execute what you really what.

comments: author: Peter Hitchmough
body: Agreed - for all the reasons you state.


author: Jeff Chen
body: I just come cross this issue as well. I think it should be very handy to allow using bamboo variable in executable path.


author: Ron Chan
body: Peter,

Are you trying to define the PHPUnit executable path for the task as ${bamboo.build.working.directory}\\vendor\\bin\\phpunit.bat ?

If that's the case then that's probably not going to work. The executable path needs to be an absolute path. So in our case, we define MSBuild task path to be "C:\\WINDOWS\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe".

<br />

comments: author: Peter Hitchmough
body: Thanks. That clarifies things. It's a learning curve.

I want to use the PHPUnit installation that is kept alongside the project, managed by composer. I will probably have similar requirements. I will make a small collection of build command scripts at a fixed path which my projects can use.

Also, I will install some more standard build tools e.g. a default PHPUnit and Composer.

I'll try to summarise things in an answer later, but for now things look good.


author: Peter Hitchmough
body: When I substitute ${bamboo.build.working.directory} in my executable, I see the following in the build log -

Unable to find executable at ${bamboo.build.working.directory}\\vendor\\bin\\phpunit.bat.


author: Jason Monsorno
body: Can you just use ${bamboo.build.working.directory}?


author: Peter Hitchmough
body: I defined the executable as

```
${BUILDROOT}/vendor/bin/phpunit.bat
```

I also tried

```
%BUILDROOT%/vendor/bin/phpunit.bat
```

to no avail.
C3 Instance Type Support (Bamboo OnDemand)
Asked by Brent@Pedago:

Noticed that the Bamboo OnDemand instance configuration does not support the current-gen compute optimized (c3) instance types. When can we expect support for these? Thanks

List of current instance types and pricing - <http://aws.amazon.com/ec2/pricing/>


Answers:
author: Przemek Bruski
body: It should be available on Monday.

comments: author: Brent@Pedago
body: Fantastic! Thanks!


author: Brent@Pedago
body: Hi Przemek - I'm not seeing the new instance types yet. Did the release get pushed, or is there something we need to do to enable them? Thanks


author: Przemek Bruski
body: This release windows was cancelled - deployments of all products on OnDemand were postponed by one week, sorry about that.


author: Brent@Pedago
body: No worries. Thanks for the update!


Tags: cloud
Bamboo - RSS feed of builds on all branches
Asked by Nathan Taylor:

Is there some kind of RSS feed available which aggregates builds across all branches?


Answers:
author: Przemek Bruski
body: There's none, but we're aware that a branch centric view would be a good improvement for Bamboo.

comments: author: Nathan Taylor
body: Okay, thanks for the heads up.


author: Tim Schroeder
body: Any plans to add this soon?


author: Christopher Jones
body: Any updates on this? This a very important feature missing piece of the RSS feed for Bamboo builds.


author: Derek Rosenzweig
body: Echoing the request for an RSS feed that includes primary plan build results AND branch plan results in a single place.


author: Martyn CLEMENT
body: You can find a RSS feed at /plugins/servlet/streams?local=true  
(Build \> Build Activity \> Recently Built)


Tags: cloud
Upgrade Bamboo Version Licensing Requirements
Asked by Jason Erickson:

Hello,

My company currently has the starter download edition of Bamboo version 4.4. We would like to upgrade to the latest version 5.4. For some reason, the current Bamboo licenses only show up under my coworkers Atlassian account, so I'm not sure if he would have any different options in downloading screens that I do, but all I see is a download link for the trial version of5.4.

Could anybody tell me the steps to obtain the new version of Bamboo? Do we need to purchase a new license? Do we just apply this license overtop of the old one? I'm pretty clear on installing the upgrade, just not obtaining it.

Thanks for the help!


Answers:
author: Ron Chan
body: Jason,

Your coworker's accounts shows different (or more) information than yours because the Bamboo license is probably linked to his account.

In any case, it is free to upgrade Bamboo versions, as long as it's the same # of users package and you just apply the new license on top of the old one. The download can be either from that accounts page or directly from Atlassian site.

Hope this helps!

Ron


Tags: upgrade

version
I'm trying to import from stash to bitbucket, but I'm getting an error.
Asked by ???:

I'm trying to import from stash to bitbucket, but I'm getting an error.

Perhaps this error occurred because English and Korean were included in the coding source and utf8 encoding was performed.  
How can I fix it to solve it?

For reference, I was using stash (server hosted)

Thanks

![??? 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/185630iF1C4B89A7A6E7606/image-size/large?v=v2&px=999 "??? 2.png")![??? 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/185631i3A1519180DA8CF0B/image-size/large?v=v2&px=999 "??? 3.png")


Answers:
author: Mirek
body: Hi [@???](/t5/user/viewprofilepage/user-id/620962)

Are you able to migrate any other repository that do not contain nonascii characters? Maybe you can quickly create a new, add some simple code and try?

We need to make sure that this is not related to any network, SSL, visibility .. etc.

comments: author: ???
body: Projects made in plain English can be migrated. Only projects with comments or text written in korean will not migrate.


Tags: bitbucket-cloud

cloud
Not receiving bitbucket invitation emails
Asked by nghia.phamd:

Hi

I just started working for new employer, but I am not able to access their bitbucket workspaces. I am not receiving any invitation emails that are supposed to have been sent. I don't understand why it doesn't work, I have received "Welcome to Bitbucket" emails and similar from Atlassian.

My email address is \<email_removed\>

I have checked my spam folder, but it is empty.

regards,

Nghia Pham


Answers:
author: Theodora Boudale
body: Hi [@nghia.phamd](/t5/user/viewprofilepage/user-id/4779538),

I checked in our system and your email address was in one of our suppression lists with the message:

```
550: 550 5.4.1 Recipient address rejected: Access denied.
```

It is possible that the invitation was sent before your email account was operational, and we received a hard bounce response from your mail server indicating so. The email address is then placed in a suppression list, as we no longer try to resend to non-existing emails.

I went ahead and removed your email address from the suppression list, could you please ask one of your admins to resend the invitation now?

A new invitation needs to be sent, as the previous ones were dropped.

We use different email providers, which explains why you have received some emails but not others.

Please feel free to let me know if things are ok now and if you need anything further!

Just a heads up, I removed your email address from your post to protect your privacy.

Kind regards,  
Theodora

comments: author: nghia.phamd
body: Now everything works fine for me.

Many thanks, Theodora


author: Theodora Boudale
body: That's good to hear!

You are very welcome and please feel free to reach out if you ever need anything else.

Kind regards,  
Theodora


Tags: bitbucket-cloud

email

invite
Admin cannot merge PR
Asked by Jack Ducat:

As admin of the workspace, I already have implicit admin access to the repository, yet I cant merge a PR? The merge button is missing in the PR, and from the branch the merge option is greyed out.

I'm having the same issue as this question (<https://community.atlassian.com/t5/Bitbucket-questions/PR-Merge-Decline-buttons-missing/qaq-p/1716265>) but my issue doesn't seem to be magically resolving itself.

Any suggestions on how to fix this would be greatly appreciated.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Jack Ducat](/t5/user/viewprofilepage/user-id/4779417) ,

if permissions are ok for that user and he can write to the repo and to target branch, probably there's some merge check that are blocking this operation.

Please, verify that there're not merge check or, for your PR, all checks are verified.

Use the following guide to perform this check <https://support.atlassian.com/bitbucket-cloud/docs/suggest-or-require-checks-before-a-merge/>

Hope this helps,

Fabio

comments: author: Jack Ducat
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

Thanks - I reset the target branch permissions and that seems to have resolved the problems


Tags: bitbucket-cloud

cloud
How can I auto-decline PR in Bitbucket Cloud
Asked by Eyal David:

as part of our process we need keep the master branch from old PR's

Bitbucket cloud doesn't have this feature

<https://confluence.atlassian.com/bitbucketserver/automatically-decline-inactive-pull-requests-1027119967.html>

do you have any alternative for this at the cloud ?

Thanks


Answers:
author: Caroline R
body: Hi, [@Eyal David](/t5/user/viewprofilepage/user-id/4676376), thank you for reaching out to Atlassian Community.

Currently, there's no equivalent for that exact feature in Bitbucket Cloud. However, we do understand that this functionality would be beneficial to many teams, so we went ahead and created a feature request to implement this to Bitbucket Cloud as well as you can see here:

* <https://jira.atlassian.com/browse/BCLOUD-21731>

I would suggest that you add your vote there (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
7.20.0 doesn't allow me to clone repos after I create them.
Asked by JohnG:

I get message "ll clone protocols have been disabled. Please contact your system administrator."

Also, the "Source" button no longer shown any text under

### Working with your repository {#toc-hId-1315410090}

I've been using BitBucket for years, and now I can no longer create repos.

Please help.


Answers:
author: JohnG
body: Answering my own question:

After upgrading, I needed to review the Admin settings and enable HTTP(S) and SSH access.

All is well.


Tags: bitbucket-server

server
Cannot access my bitbucket account
Asked by ACPBuild User:

I can no longer log into my bitbucket account.

It seems fine when I login to atlassian, but clicking on the bitbucket icon I get the message

*account due to multiple log in attempts within a short period of time. Please try again in a few minutes.*


Answers:
author: Caroline R
body: Hi [@ACPBuild User](/t5/user/viewprofilepage/user-id/4208007), thank you for reaching out to Atlassian Community.

I just would like to confirm if you were able to access your Bitbucket account by following [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224)'s advice.

I have confirmed that the account linked to the email you used to create this question is active, so you should be able to access it normally. In case you are still facing this issue, please let me know the browser you are using to access it.

Kind regards,  
Caroline


author: Pramodh M
body: [@ACPBuild User](/t5/user/viewprofilepage/user-id/4208007)

Can you please navigate to bitbucket.com from incognito browser and confirm the same


Tags: bitbucket-cloud

cloud
BItbucket cloud and Azure Security Groups
Asked by Grant Baxter:

We are currently migrating to the cloud from the server for Bitbucket, I noticed with Atlassian access you can set up security groups linked to Active Drectory\\Azure. However, I see no way of adding an existing group in Bitbucket Cloud? It also seems the cloud version is completely different to managing?

Any help would be appreciated.


Answers:
author: Pramodh M
body: [@Grant Baxter](/t5/user/viewprofilepage/user-id/4778305)

Welcome to the community ?

With Atlassian access, you can only configure SSO, that being said it doesn't matter of you have user directly or from a group.

The user when tries to login with the account you are managing (with verified domain account) will get the SSO login page and that's all

For groups, you need manage them in Bitbucket itself for access and permissions for workspace and that cannot be managed via Azure AD

Please refer the document, if you have seen it from documentation page

Let me know if you have any queries

Thanks,

Pramodh

comments: author: Grant Baxter
body: Seems a bit backwards and annoying but ok, is there any way to just add people to a bitbucket group without sending an invite?

Migration was successful, but the security group users are in doesn't exist in BitBucket so really it didn't work.


Tags: bitbucket-cloud

cloud