youngmon/atlassian-qna huggingface dataset:
What is the name of the Bamboo EC2 stock image for Windows
Asked by Rich Robinson:

I can't see the stock image in my 'Image Configuration' section of the Bamboo admin, and I can't find it in the EC2 list. Is there a name I can search for?(Using OnDemand)


Answers:
author: Przemek Bruski
body: Stock images are only available in US East. There is no schedule to get them into other regions for now.

comments: author: llwt
body: This should really be more prevelant in the documentation. I was not able to find it anywhere.


author: Rich Robinson
body: Ah-ha!

Thanks for that Lucas, I wasn't looking in that region (I assumed wrongly that they would be everywhere, still a bit new to EC2).

To get to this to the EU (Ireland) region, I guess I have to launch, save as my own, then move.


author: Rich Robinson
body: Thanks for the information. Is there a problem with having the images in other regions?

comments: author: Przemek Bruski
body: Not really. It's on our todo list. We will probably only provide Ubuntu and Windows though.


author: LucasA
body: Hi Rich,

These are the AMI ID:

image.US_EAST_1.EBS.i386.linux=ami-bf56ead6  
image.US_EAST_1.EBS.x86_64.windows=ami-976edafe  
image.US_EAST_1.EBS.x86_64.linux=ami-8156eae8  
image.US_EAST_1.S3.x86_64.linux=ami-8f56eae6  
image.US_EAST_1.S3.i386.linux=ami-9f56eaf6

Regards,

Lucas Lima


Tags: cloud
Bamboo licensing restricts number of available remote agents or concurrently running remote agents
Asked by Kevin O'Neill:

I'm considering evaluating Bamboo for my company.. but before I can begin I need to determine if this might be a non-starter:

\* Use-case: we're currently using Jenkins... We have several local test instances, with multiple instances per client we support. We have a slave running on each instance... as part of our nightly builds we deploy our Java web app to each client instance.. these deploy jobs are ant targets that **need to be run on the machine to which they're being deploy**. This restriction means that we have many more agents than the actual number of concurrent jobs we require...

For our purposes a 5-agent bamboo license would be sufficient... but with this license would be able to continue using more than 5 remote agents... i.e. does Bamboo allow us (for example) to have 100 remotes agents with only 5 active at a time.. or does it only allow a maximum of 5 remote agents (whether or not they're running)?


Answers:
author: Vadim Rutkevich
body: Kevin,

you can try our updated version of the add-on Virtual Agents for Bamboo. It allows you to automatically start and stop virtual machines with build agents. So you can much more efficiently utilize your license for remote agents. When the agent has no assigned tasks, the add-on stops the virtual machine with it and frees the slot for another agent. So you needn't all the time track your Bamboo tasks, you need just once to create mappings between agents and virtual machines, and the add-on will further start the appropriate virtual machine with agent for your queued tasks.

Thanks.

Best Regards,

Vadim Rutkevich


author: Jason Robinson
body: does a "Bamboo Agent" = "connected jenkins build node"?


author: Przemek Bruski
body: As soon as the deployment starts, you need to disable the agent so that it does not get any new jobs (you can automate it using curl). As the last stage of your deployment, you should kill the agent (start that in the background with 30 seconds delay). Then, you only need to make sure that the agents are available when the new round of deployment starts.

It will take some scripting, but yes, it's doable.


author: Kevin O'Neill
body: How difficult would it be to set this up to occur in an automated manner? (i.e. the starting up / bringing down) of agents ... My assumption is that this is not a use-case that's going to be easy to work with...


author: Przemek Bruski
body: The restriction is on the number of available remote agents. In your scenario, you'd need to shut them down after deployment.

comments: author: Chad Barnes
body: Just for my clarification... the restriction is on the number of remote agents identified as "Online" within the Bamboo server remote agents list? There is no restriction on the number of remote agents identified as "Offline"?If that is all true, what happens when an agent attempts to start but there are already MAX_AGENTS in the online state?


Tags: licence
Bamboo Questians
Asked by Jijo John:

Hi team,

1) How to handle multiple svn URL's to checkout in workspace. Polling?

2) Is it possible to queue a plan/stage if one svn revision changed any one of the svn URL.

Thanks in Advace.

Jijo


Answers:
author: RianA
body: Hi Jijo,

I will try my best to answer your questions do let me know if anything left out or misunderstood.

For question one, you could do a polling to multiple repositories using Triggers in Bamboo. If you have specified a multiple directories in one plan or maybe shared repositories, you could see them in the trigger configuration, you could just check the one that you would like to have the polling trigger from.

Yes, it is possible, you need to choose *Repository triggers the build when changes are committed* option. However you need to configure webhook from SVN side.

For more information please refer to the following documentation.  
\* <https://confluence.atlassian.com/display/BAMBOO/Polling+the+repository+for+changes>  
\* <https://confluence.atlassian.com/display/BAMBOO/Repository+triggers+the+build+when+changes+are+committed>

Hope it helps.
Linking Stash to Bamboo displays wrong Stash URL
Asked by Aaron Cunnington:

Hello.

We had Stash linked to Bamboo a while back and this worked fine. Since then, we changed our Atlassian servers to use a new DNS name and made them accessible to the public (with a login). Because of this we needed to change the base URL of our Atlassian products.

We noticed that after doing this, the link that displays in a build triggered by a code change links to the old Stash URL, and not the new Stash URL. We have tried relinking both Bamboo and Stash to get around this, but it is still not displaying the new URL. Is there a setting file we need to update?

Kind regards, Aaron.


Answers:
author: Aaron Cunnington
body: Hi Piotr, I can't seem to find this area of the configuration. Is it part of the plan configuration or part of Bamboo administration? I have had a look around in the plan configuration but cannot find the repository viewer setting.


author: PiotrA
body: Hello Aaron,

Could it be that you need also to update the "Web Repository" in your Plan-\>Configuration-\>PlanRepository-\>Advanced section? Can you confirm that you updated the URL there too?

regards,

comments: author: Aaron Cunnington
body: Hi Piotr, I can't seem to find this area of the configuration. Is it part of the plan configuration or part of Bamboo administration? I have had a look around in the plan configuration but cannot find the repository viewer setting.


author: PiotrA
body: It is part of the plan configuration. You might find these documents handy:

\* <https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Stash>   
\* <https://confluence.atlassian.com/display/BAMBOO/Git>

edit: ah, and I see that I've mistyped "repository viewer" - in fact, I was referring to the "Web Repository" thing.


Tags: bamboo-administration
Build plans vs deployment plans for custom environment configurations
Asked by chrisdrobison:

I'm evaluating Bamboo to replace our Jenkins setup and have a couple questions. I have a .NET solution that generates two artifacts: a packaged website and an MSI. I have three environments I deploy to: test, stage, production. Our Jenkins server in turn has three jobs--one for each environment. Each job builds the solution, copies in configuration files for the environment it will be deployed to and then deploys the artifacts. Reading the documentation and other stuff ([https://answers.atlassian.com/questions/19562/plans-stages-jobs-best-practices](/questions/19562/plans-stages-jobs-best-practices)), I'm getting mixed signals about how deployment should work with Bamboo. It seems to me like deployment plans expect artifacts to exist and then deploy them. But, build plans include deployment steps as well. How is all of this supposed to interact together?

The reason I'm confused is because I have environment specific configuration files that get packaged during a build. Any direction on how this should work?


Answers:
author: Jason Monsorno
body: Deployment projects in Bamboo seem to be dependant on the existance of an artifact, the catch is you don't necessary need to use that artifact so you could use an empty artifact and do completely independent steps. Deployment projects are still fairly new to Bamboo and your structure may favor the "normal" workflow so each environment would be a separate manual stage.

The Deployment project do have a separate workflow and versioning. To use Deployment projects in your scenario, I'd suggest making the artifact the entire checkout then each Deployment environment can build a copy of the artifact. The space-saving/less-time-efficient option would be to just save the current revision in a file as the artifact and use that to check it out and build in each Deployment environment.


Tags: bamboo-administration
Bamboo 5.1 Maven Missing
Asked by Benjamin Reed:

Since upgrading to Bamboo 5.1, my "maven" tasks have broken. When I go to the UI to configure the tasks, I see:

**No plugin could be found associated with this task.**

**Delete the task, or,**

**re-install the plugin with key "com.atlassian.bamboo.plugins.maven:task.builder.mvn3".**

I don't see anywhere in the UI to re-install that plugin, and I'm not sure which of the many maven-related jars I should be looking at in the bamboo install.


Answers:
author: Benjamin Reed
body: Aha! Found it, somehow, the maven plugin had gotten disabled. I didn't find it before because I didn't realize you have to switch the pulldown from "user plugins" to "system plugins" before I could find it greyed out in the list and re-enable it.


Tags: bamboo-administration

maven
After I've downloaded an artifact, how do I reference it in subsequent tasks?
Asked by Stephen Sweeney:

After I've downloaded an artifact, how do I reference it in subsequent tasks?

For example: My build plan creates a war file which I make available as an artifact and give it a name like **WAR1** . In my deployment plan I download the **WAR1** artifact using an **Artifact Download** task and now want to use that artifact in a **?Deploy to Tomcat** ? task. Rather then having to know the exact name of the war file for the **?WAR File**? field, can I do something like %{bamboo.artifact.WAR1} to reference the artifact?


Answers:
author: RianA
body: Hi Stephen,

After you run Artifact Download task, the artifact should be inside your working directory. If it's inside certain directory, you could just put the relative path to the war file from the working directory.

Hope it helps.

comments: author: Stephen Sweeney
body: I understand that, but what if I've wildcarded the name when creating the artifact (ex. cool-app-\*.war) for whatever reason (3rd party app appending version, etc.)? In this case I won't reliably be able to enter the WAR filename for automation, but Bamboo knows the object I'm talking about (the artifact).


author: Brandon Vulaj
body: I know I'm bumping this from the past, but this seems like a \*very\* common request. Is there a formal request anywhere? It's very disappointing that this isn't offered. Right now I have to use a script to rename my WAR file to something static before deploying.


author: Stephen Cooper
body: Two years later - is this still not available? I'd like to scp an rpm out to the target server and then install it with the ssh command. How can I reference the RPM file in the remote SSH command?


Tags: artefact

tomcat

variable
Excluding files from branch permissions
Asked by Martin:

Hi! We are using the branch permission settings on our repository to prevent changes without a pull request to the master branch. What we would need is to exclude certain files from this permission.

Let's say my repository contains FileA, FileB and FileC. Now I want to allow changes on FileC to be pushed to the master branch without a pull request, so I want to exclude this file from the branch permission. If I need to push changes on FileA or FileB, the branch permission should prevent the direct commit to the master.

Is this somehow possible on Bitbucket Server v7.6.12?


Answers:
author: Pramodh M
body: Hi [@Martin](/t5/user/viewprofilepage/user-id/4721209)

Welcome to the Community!!

Straight forward there are no plugins that achieve this functionality!!

We would need to check the filenames as well while merging the code which is not an efficient way when we take this to more repos context.

You can go configure with branch protection rules that bitbucket offers and leverage those to have your flow apart from the file permissions requirement

Thanks,  
Pramodh

comments: author: Martin
body: Hi [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224)

thanks for your answer!

Is there probably a feature / plugin available to auto-approve pull requests if a certain criteria is met?

For example when we stick to the example which I mentioned above with the 3 files (fileA, fileB and fileC): I could imagine that I have to open a pull request if any of those files change, but an auto-approval is done when the commit contains fileC (depending on the rule I configured).

Would that be possible? With a quick search I couldn't find a plugin like that, so probably not?

Best wishes,  
Martin


Tags: bitbucket-server

server
Your account now has more than 300 repositories.
Asked by velcrodesign:

Hi, I'm getting this message when creating a new repository:

Your account now has more than 300 repositories. Don't worry! You can still create more for free, but in order to prevent Bitbucket misuse, we need to hear from you at - <https://support.atlassian.com/bitbucket-cloud/>.

Can someone help, please?


Answers:
author: Theodora Boudale
body: Hi [@velcrodesign](/t5/user/viewprofilepage/user-id/1102446) ,

We have this limit in place for workspaces on the free plan to help prevent spam in Bitbucket Cloud. I went ahead and removed that limit for your workspace, so you should be able to create more repos now.

Please feel free to let me know if the issue is resolved now and if you need anything further.

Kind regards,  
Theodora


author: Fabio Racobaldo _Herzum_
body: Hi [@velcrodesign](/t5/user/viewprofilepage/user-id/1102446) ,

This limit is set to prevent abuse, requiring Atlassian to validate if it's an actual person with a real need for that. If you report this alert to Atlassian team, they are able to prevent this alert appearing to you.

Hope this helps,

Fbaio

comments: author: velcrodesign
body: Thank you, [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) , but how do I report this to the Atlassian team?


author: Fabio Racobaldo _Herzum_
body: Using the following link <https://support.atlassian.com/contact/#/> you can raise a support request.

Ciao,

Fabio


Tags: bitbucket-cloud

cloud
Error creating a new repository
Asked by Luis Rodr?guez:

Hi!

I am getting this error while creating a new repo:  

***Your account now has more than 300 repositories. Don't worry! You can still create more for free, but in order to prevent Bitbucket misuse, we need to hear from you at - <https://support.atlassian.com/bitbucket-cloud/>.***   

Thanks in advance.


Answers:
author: Caroline R
body: Hi, [@Luis Rodr?guez](/t5/user/viewprofilepage/user-id/4720936), welcome to the community!

This limit is set to prevent abuse, requiring us to validate if it's an actual person with a real need for that. I went ahead and exempted your workspace, so you should be able to create more than 300 repositories now.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline

comments: author: Luis Rodr?guez
body: Thanks [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) , it works perfectly!


Tags: bitbucket-cloud

cloud
Access denied when migrating repo
Asked by Admin Admin:

Hello,

i'm in the process of setting up Jira and migrating repos to BB.

What i did:

1. cloned a repo to a local drive

2. git remote set-url origin <https://keytophoto-admin@bitbucket.org/xxx/xxx.git>

3. git push --all

the last command returns:

\`\`\`  
remote: Invalid username or password  
fatal: Authentication failed for '<https://bitbucket.org/xxx/xxx.git/>'  
\`\`\`

The user in atlassian is "admin" and it was created using google authentication.

questions:

1. why the bitbucket user is "keytophoto-admin" and not "admin"?

2. what the password should be? or where do i change the password?


Answers:
author: Mahesh Shinde
body: Hi Admin,

In bitbucket cloud, you have to create user manually there is no as such default username.

If you want to reset username password then please try this link: <https://bitbucket.org/account/password/reset/> and make sure the email ID is link with username so you can get reset password link on that mail ID.

comments: author: Admin Admin
body: Thank you for the reply.

But i think the authentication problem is due to authentication used when the Atlassian account was created.

1. create an Atlassian account authenticating with Google.

2. create a BB repo.

3. git clone over https - results in the "Authentication failed " message.

no ssh keys is been used atm.


author: Admin Admin
body: adding SSH keys and setting up .ssh/config solved the auth issue


Tags: bitbucket-cloud

cloud
U2F - No longer working after Feb?
Asked by chris:

I get these when I log in using a security key Will Bitbucket not support security keys after February?![screenshot_20220120_202914.png](/t5/image/serverpage/image-id/178934iD97B6A8EED4FF9FD/image-size/large?v=v2&px=999 "screenshot_20220120_202914.png")


Answers:
author: Theodora Boudale
body: Hi everyone,

Bitbucket Cloud is upgrading to WebAuthn API. We have published a community article about this:

* <https://community.atlassian.com/t5/Bitbucket-articles/Bitbucket-is-upgrading-to-the-Web-Authentication-API-WebAuthn/ba-p/1921532>

If you have any questions, please add them in a comment in that article!

Kind regards,  
Theodora


author: Pramodh M
body: Hi [@chris](/t5/user/viewprofilepage/user-id/4308313)

Can you try disabling the 2FA via Security Key and re-enabling it in the latest version of Chrome and see if you get the same error?

Let me know

Thanks,  
Pramodh

comments: author: Pramodh M
body: Reference here,

Navigate to the URL below

<https://bitbucket.org/account/settings/two-step-verification>

Documentation - <https://support.atlassian.com/bitbucket-cloud/docs/enable-two-step-verification>


Tags: bitbucket-cloud

cloud
How to fetch repositories created date in a project using REST API
Asked by RichardA:

Hi Team,

I am trying to execute rest API in my instance to fetch repositories created date in a single project. Pls find below URL which I have run. but its giving only 25 pages of data in a page, how can I view all the page information using API. can anyone suggest me, Is there any API for this to get all the repos info in a single page with repositories created date.

URL: <https://bitbucketURL/rest/audit/1.0/projects/aau/events?isLastPage:true>

once executed the above url, the end result, its showing as''start":0,"nextPageStart":25'. How can we show last page info using API.

Thanks!


Answers:
author: Mikael Sandberg
body: On Bitbucket server you should be able to define the number of items returned in the pagination, 25 is the default value. Let me see if I can find where you set that, it has been a couple of years since I did that.

Also take a look at this blog post, it shows how to use pagination to get all the repositories, [BitBucket List All Repositories -- using REST API](https://www.middlewareinventory.com/blog/bitbucket-list-repositories/)

comments: author: Mikael Sandberg
body: Here is the property you can change to set the number of objects returned on a page, [Paging](https://confluence.atlassian.com/bitbucketserver/configuration-properties-776640155.html#Configurationproperties-Paging)


Tags: bitbucket-server

rest-api

server
How do I delete myself form Bitbucket and jira and Atlassian
Asked by Randy Saludes:

How do I delete myself form Bitbucket and jira and Atlassian, Github had a delete account. I couldn't get Bitbucket to work no url would work for push to the repository. Junk stuff and wasted allot of time trying to get it to work. Now getlab what a pleasant surprise and talk about fast and easy wow. Worked like greased lightning . That BS about the clone and copy the url is a bunch of wasted time and effort. It doesn't work and username and password what a bunch of hooeee! Bitbucket is junk with allot of circular navigation like github without being able to find answers to get stuff to work. git is not that hard!


Answers:
author: seanaty
body: Try going to this page: <https://id.atlassian.com/manage-profile/account-preferences>

More information on account deletion here: <https://support.atlassian.com/atlassian-account/docs/delete-your-atlassian-account/>


Tags: bitbucket-cloud

cloud
Bitbucket free account: how to enable 300+ repos
Asked by AP:

hi, i ve hit the 300 repo threshold on my account using the free plan. and there is no option to contact support to have it lifted. could someone please have a look for me would be much appreciated.

thankyou


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

This limit is set to prevent abuse, requiring us to validate if it's an actual person with a real need for that. I went ahead and exempted your workspace, so you should be able to create more than 300 repositories now.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline


author: Pramodh M
body: There's no repo threshold

Here's the supported link

<https://community.atlassian.com/t5/Bitbucket-questions/How-many-repositories-can-team-account-have/qaq-p/703906>

Thanks,

Pramodh

comments: author: AP
body: hi thanks there is a threshold set im looking for the same support that was given here

<https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-free-account-how-to-enable-300-repos/qaq-p/1844959>

thanks


author: Pramodh M
body: Sure create a support ticket with Atlassian at support.atlassian.com


author: AP
body: it wont let me a on free plan

thanks


author: Pramodh M
body: I have tagged the label to Atlassian, team will surely be in contact with you

Thanks,

Pramodh


Tags: atl-rvw

bitbucket-cloud

cloud
Preview different md file from subfolder in repo root instead of README file
Asked by Annamalairaj:

I am having folder called Docs in the repo root which has multiple md files. I just want to render a particular md file in the repo root instead of readme.  

Any help would be much appreciated.


Answers:
author: Theodora Boudale
body: Hi [@Annamalairaj](/t5/user/viewprofilepage/user-id/4717881) and welcome to the community.

Both Bitbucket Cloud and Bitbucket Server require a README.md file to be present at the root level of the repository, in order for its contents to be displayed on the **Source** page.

I'm afraid that it is not possible to configure a .md file with a different name at a different location to be displayed. The only way to display the file you want would be to rename it to README.md and move it to the root of the repo.

I can check if there is an existing feature request for what you are asking, please let me know in this case whether you are using Bitbucket Cloud (repo hosted in <https://bitbucket.org/>) or Bitbucket Server (self-hosted instance).

Kind regards,  
Theodora