youngmon/atlassian-qna huggingface dataset:
Bamboo OnDemand Won't Let Me Authorize Users
Asked by onkol-admin:

I can't give users access to Bamboo OnDemand. I initially set Bamboo up and the system defaulted to adding all current Jira developers to Bamboo access. Even though their names were in the access list, none of them could actually get to Bamboo, instead getting a generic "Access Denied" message. So I removed all of the users from the list and started creating a new access list from scratch. However, every user I try to add results in an error. For example, trying to add user "knemetz" I get "There was a problem granting user knemetz access to Bamboo. You may wish to try the operation again."

What gives?


Answers:
author: ssetayeshfar
body: Hi Erich,

You seem to be running into this bug: [](https://jira.atlassian.com/browse/AOD-6992.)<https://jira.atlassian.com/browse/AOD-6992>. Please raise a support ticket at [](https://support.atlassian.com)<https://support.atlassian.com>for further investigation.

Thanks.

Best,

Sepideh


Tags: cloud
Can Bamboo plan branch management, re-create branch plans that were auto-deleted?
Asked by Mike Curwen NL:

We use Bamboo's plan branches and the auto-management is on. So the text on the UI says:
> Bamboo will automatically create Plan Branches when it detects new branches in your version control system and automatically remove Plan Branches from Bamboo after a specified period of inactivity. Detection of new branches runs every 5 minutes

**Observed and desired behaviour:**

* New git branch is created, Bamboo creates new plan branch.
* git branch has lots of activity, plan branch kicks off builds.
* git branch has no activity for our configured 15 days, plan branch is deleted.

**Aww, it doesn't have this behaviour:**

* Git branch receives a commit - :( Bamboo doesn't re-create the plan branch and fire a build.

In other words, we'd prefer the behaviour to be: create new plan branch on new or updated git branches, if no plan branch exists for that git branch. Or - can I enable this, and if so, how?


Answers:
author: AlvinL
body: The answer to the original question is: nope

I see that <https://jira.atlassian.com/browse/BAM-12161> has been created for this issue. From the comments, it looks like Atlassian isn't really planning on implementing this feature. Please vote for the ticket. If enough users do so, hopefully they'll change their minds.


author: Jesper Skytte Hansen
body: +1000 for this issueWe're using both Stash and Bamboo, and have set the Pull Request to only be merged when we have at least one successful build. When a branch is deleted in Bamboo and not re-created, we're not able to get a successful build, and I have to disable this check, merge that pull request and enable the check again.If it is not possible to have Bamboo re-create the branch automatically, is there (or will there be) a command to create the branch manually, such that it is not necessary to override these checks?


author: Louwrens
body: We would also be very much interested in this option to recreate the plan branch. As a work-around we set the auto-clean up delay to zero (for never clean up).

Also, why is it so that branch-detection is by polling every 5 minutes? We don't like to wait. Can't we change this or configure it to work with a trigger like with auto-builds with new commits?
Bamboo - Multiple plans with branch detection with same repository
Asked by Kyle Varga:

We have multiple plans configured that use the same repository with Branch Detection Service enabled. Should this work? It appears to have worked for a while and stopped working within the last couple of updates (not exactly sure when).

I'm going to check out the Bamboo changelogs now.


Answers:
author: Marcin Gardias
body: Yes, it should work. If you have problems with this setup please contact our support.


Tags: bamboo-administration
Can we put our Bamboo jobs under source control (Git/Mercurial)?
Asked by Eric Rose:

Hi all,

We have a Bamboo CI server, and we'd like to get the actual Jobs configuration (steps, tasks, variables, etc) under source control, so that we can track changes. I've searched the FAQ, but have not found a way to do this.

I've seen people doing similar things on Hudson/Jenkins through a plugin (SCM Sync configuration plugin)

Thanks for any pointers to a solution for this!

-Eric


Answers:
author: Przemek Bruski
body: Job configurations are stored as XML in the database (build_definition table), so technically, yes, you should be able to do it. I am not aware of any plugins that make it easier, though.


Tags: bamboo-administration
Is the Bamboo Ruby Plugin compatible with recent versions of Bamboo?
Asked by Craig Solinski:

The Marketplace listing for the [Bamboo Ruby Plugin](https://marketplace.atlassian.com/plugins/au.id.wolfe.bamboo.rake-bamboo-plugin) claims it not to be compatible but it could be that authors simply have not updated the version compatible highest version?


Answers:
author: Felipe Kraemer
body: Hi Craig,

This plugin is only compatible with Bamboo 5.0 - 5.1.1 unfortunately, and it's not produced by Atlassian, hence it's a third-party and, as such, I would suggest you to get in touch with [Mark Wolfe](https://marketplace.atlassian.com/vendors/770947) who is the plugin vendor and ask him if he could provide you with a newer version of this plugin that is compatible with the latest Bamboo version.

Kind regards,  
Felipe Kraemer  
Atlassian Support


Tags: addon-au.id.wolfe.bamboo.rake-bamboo-plugin

bamboo-app

ruby
Bamboo Migration Activity
Asked by Ajay Singh:

We are planning for implementing Bamboo in our organization.

Please advise me about your Bamboo Migration Process.

You can call me @ 9899103367 or can email me [ajay.singh@safenet-inc.com](mailto:ajay.singh@safenet-inc.com).


Answers:
author: Felipe Kraemer
body: Hi Ajay,

I am not sure if I got what you meant by "migration process", but:

* If you want to move Bamboo to another server, please follow [this document](https://confluence.atlassian.com/display/BAMKB/Moving+Bamboo+between+machines).
* If you want to clone your Bamboo instance, please follow [this document](https://confluence.atlassian.com/display/BAMBOO/Cloning+a+Bamboo+instance).
* If you want to upgrade your Bamboo instance, please follow [this document](https://confluence.atlassian.com/display/BAMBOO/Bamboo+upgrade+guides).

I hope this helps!


Tags: migration
Working example for Bamboo CLI-Plugin?
Asked by V:

I'm trying to use the CLI-Plugin for Bamboo, using the examples as seen here [](https://bobswift.atlassian.net/wiki/display/BCLI/Examples)<https://bobswift.atlassian.net/wiki/display/BCLI/Examples>but can't get it to work. When I run the job, I get the following error:

```
simple	08-Apr-2014 14:54:41	Requested action: bamboo --action queueBuild --build "BAC-MDMAS"  --wait simple	08-Apr-2014 14:54:41	Action exit code: PARAMETER_PROBLEMsimple	08-Apr-2014 14:54:41	Action output: simple	08-Apr-2014 14:54:41	simple	08-Apr-2014 14:54:41	Error: Unexpected argument: bamboosimple	08-Apr-2014 14:54:41	Error: Parameter 'server' is required.simple	08-Apr-2014 14:54:41	Error: Parameter 'password' is required.
```

Are there some examples somewhere, that actually show me how to use the plugin in a way that works?


Answers:
author: Bob Swift (personal)
body: The examples referenced assume that you are running from a command line and have customized the **bamboo** script to include your server and credentials so you do not need to repeat them all the time. See the instructions at the top of the page for links on how to do that for command line support. Alternatively or when used as part of a CLI plugin script: add the server, user, and password parameters appropriate for your installation.[BCLIP-15](https://bobswift.atlassian.net/browse/BCLIP-15) is an improvement request when using this in the plugin to provide a way to reference configured settings to avoid repeating the same information for each use.

comments: author: V
body: And is there a way to have more than one command in a single CLI-Plugin task?


author: V
body: Is there a way to add the server, user and password in a way, that it doesn't have to be added for every command, when using a CLI plugin inline-script?


Tags: bamboo-administration
Could not send [postToUrl]
Asked by Muhammad Talha Abbas:

Hi, I want to run a python script in my localhost through OEC.   
And I am getting an error   

Could not send \[postToUrl\] action to Webhook \[ticketMetricsWebhook\] after 2 retries. Reason: 502 Bad Gateway: \[{"message": "Internal server error"}\]  

I have Added an Action channel and define Policies against it


Answers:
author: Muhammad Talha Abbas
body: [@connor mcguane](/t5/user/viewprofilepage/user-id/3922071) Can you help here ?


Tags: cloud

opsgenie
GC
Asked by H?ctor Fenoll Malonda:

Hello,  
In our repository the following notice has jumped us:  
"This repository is over 2 GB. If it reaches 4 GB, contributors will not be able to push new commits."  
We would like to ask for this:  
1 - Launch a GC at 2:00 am (GMT) on March 5, 2022  
Thanks, best regards


Answers:
author: Caroline R
body: Hi, H?ctor, welcome to the community!

I couldn't find any repo over 1 GB under your workspace or the workspaces you have access to. Could you please confirm if this repo is linked to another workspace that you don't have access to with the account you used to create this question? If that's the case, please feel free to drop a comment here with the account that has access to this repo.

Looking forward to hearing from you.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Local file system mount to bitbucket runner
Asked by Abhishek K J:

Hi All,  

We have a project where we have a large codebase to build android firmware.  
We have only stored our code in bitbucket and stored android codebase(more than 130GB) in local machine.  

Due to the size of the codebase its not easy to use bitbucket cloud pipeline.  

We came to know about the bitbucket runner, where we can run the build on local machine.  
But the issue is that the runner does not support local file system mount.  

We tried to use scp to copy the codebase to the runner environment during the build, but it takes more than 1.5 hours to copy the code.  

Is there any way or workaround to mount the local filesystem to the runner.


Answers:
author: Theodora Boudale
body: Hi [@Abhishek K J](/t5/user/viewprofilepage/user-id/4789535),

As a runner doesn't provide access directly to the host file system, I'm afraid that the only workaround is to use something like scp or rsync in order to copy host files during the build.

Do you need the whole 130 GB of your codebase to run your builds? In case you need only a part of that you could try copying only the part that you need during the build.

We have a feature request to support mounting host directories in runners:

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

If you'd be interested in that, I would suggest adding your vote in the feature request (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.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-runners

cloud
Can I rank my team on number of commits
Asked by Frank:

Hello

I want to rank developers by frequency of commits - daily, weekly and monthly. Is this possible


Answers:
author: Theodora Boudale
body: Hi Frank,

Bitbucket Cloud doesn't show such statistics, however, there is a plugin available developed by Stiltsoft, which shows, among other things, the contributions of each developer.

You can find more info about this plugin here:

* [https://marketplace.atlassian.com/apps/1210934/awesome-graphs-for-bitbucket?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1210934/awesome-graphs-for-bitbucket?hosting=cloud&tab=overview)

If you would like to install it to try it out, you can do so by navigating to the **Settings** of your workspace \> **Marketplace** \> add the *Awesome Graphs for Bitbucket* app.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Chromedriver unexpectedly exits during pipeline run
Asked by Chong Jing Hong:

I'm trying to run a selenium test on my pipeline but this error shows up:
> WebDriverException(  
> selenium.common.exceptions.WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/99.0.4844.51/chromedriver unexpectedly exited. Status code was: 127

This is the pipeline step:  

```
- step:

        name: Get latest versions of libraries

        image: python:3.8.2

        script:

          - pip install selenium

          - pip install beautifulsoup4

          - pip install lxml

          - pip install webdriver-manager

          - python webscrape.py

        artifacts:

          - latest_vers.json
```

This is the python script:  

```
if __name__ == '__main__':

    # s = Service("chromedriver.exe")

    # driver = webdriver.Chrome(service=s)

    driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))

    driver.maximize_window()

    driver.get("https://www.npmjs.com/")

    data = get_libraries()

    latest_ver = scrape(driver, data)

    output_latest_ver(latest_ver)
```


Answers:
author: Norbert C
body: Hi [@Chong Jing Hong](/t5/user/viewprofilepage/user-id/4789367)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

When I was searching about this issue, I found the following site, which mentions, that the selenium test might require additional drivers: <https://stackoverflow.com/questions/49323099/webdriverexception-message-service-chromedriver-unexpectedly-exited-status-co>

As recommended on this page, can you try to install the following applications?

    apt-get install -y libglib2.0-0=2.50.3-2 \    libnss3=2:3.26.2-1.1+deb9u1 \    libgconf-2-4=3.2.6-4+b1 \    libfontconfig1=2.11.0-6.7+b1

and/or

    apt-get install -y chromium-browser

Please let us know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Chong Jing Hong
body: hi [@Norbert C](/t5/user/viewprofilepage/user-id/1190200)

I tried both suggestions, and both gave errors

Version '2.50.3-2' for 'libglib2.0-0' was not found  
Unable to locate package libnss3  
Unable to locate package libgconf-2-4  
Unable to locate package libfontconfig1  
Unable to locate package chromium-browser

E: Version '2.50.3-2' for 'libglib2.0-0' was not found  
E: Unable to locate package libnss3  
E: Unable to locate package libgconf-2-4  
E: Unable to locate package libfontconfig1


author: Norbert C
body: Hi [@Chong Jing Hong](/t5/user/viewprofilepage/user-id/4789367) ,

Thank you for your reply. It seems that those versions are not available within the build.

Can I ask you to try to install these packages without providing the version numbers? The command for that is:

```
apt-get install -y libglib2.0 libnss3 libgconf-2-4 libfontconfig1
```

Please let me know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

chromedriver

cloud
Can't access Bitbucket
Asked by Nicolas Soldi:

Hi,

I'm getting following error when login to bit bucket account.

"We couldn't log you in  
You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."

Thanks,

Nicolas


Answers:
author: Caroline R
body: Hi, Nicolas, welcome to the community!

I saw that you created a ticket with our support related to the same question and they have already answered you, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Former bitbucket user (re-hire) not receiving workspace invitation email
Asked by Jaime Gonzalez:

Hello, this week we re hired a former employee, that previously had access to Jira, Bitbucket, Confluence, etc. Our Atlassian stack is cloud.

He is able to access Jira accordingly; however, when I invite him to the Bitbucket the invitation is sent but he never receives the email. We have removed the user completely via Jira Administration, and added him again, but he does not get the bitbucket email.

I invited Myself using a personal email, and received the email within seconds. Any ideas what could be causing my user to not receive the invitation?

Thank you.

Jaime.


Answers:
author: Theodora Boudale
body: Hi Jaime,

It is possible that we attempted to send a Bitbucket email to this user at a time when their email account was not operational, received a hard bounce response from your mail server, and the email address was then placed in a suppression list (as we no longer try to resend to non-existing emails).

I checked in our system the Bitbucket Cloud workspaces you administer, and I saw in one of these workspaces two invitations that have not been accepted yet. Both emails were in our suppression list, so I went ahead and removed them.

Could you please try resending the invitations now?

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

Please feel free to let me know if the issue is resolved now.

Kind regards,  
Theodora

comments: author: Jaime Gonzalez
body: Hello Theodora, we were able to receive the email. Thank you very much for your support.

Regards.


author: Theodora Boudale
body: Hi Jaime,

That's good to hear, thank you for the update and you are very welcome.

Please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I have premium plan but Require Two Step Verification is greyed out
Asked by derek:

I want to turn on 2-step verification for my users but it is greyed out even though I have premium plan and it is enabled on my personal account

Two-step verification  
Require two-step verification  
To require two-step verification, you must first enable it on your personal account.


Answers:
author: Syahrul
body: G'Day [@derek](/t5/user/viewprofilepage/user-id/4788783)

Welcome to the community!

This may sound confusing but the one you are activating your two-step verification is for your Atlassian account. However, for you to enable the Bitbucket premium feature you need to enable another two-factor authentication on your Bitbucket account level.

Please check the following guide on how to enable two-step verification for Bitbucket account at:

* [Enable two-step verification for Bitbucket cloud](https://support.atlassian.com/bitbucket-cloud/docs/enable-two-step-verification/)

Once done, you should be able to enable your premium features to enforce the two-step verification.

Let me know if you have any additional questions.

Cheers,  
Syahrul


Tags: 2-factor-authentication

bitbucket-cloud

cloud
Install Repository Mirror Plugin for Bitbucket
Asked by WEBMASTER:

Hello,

I am trying to install a **Repository Mirror Plugin for Bitbucket.**

I use this documentation here [https://marketplace.atlassian.com/apps/1211351/repository-mirror-plugin-for-bitbucket?tab=installation\&hosting=server](https://marketplace.atlassian.com/apps/1211351/repository-mirror-plugin-for-bitbucket?tab=installation&hosting=server)

But I can't find the add-ons menu where to install the app.

Thank you for your help


Answers:
author: Mikael Sandberg
body: Hi [@WEBMASTER](/t5/user/viewprofilepage/user-id/4788503),

Welcome to Atlassian Community!

The app you found is only for Bitbucket Server, it is not supporting Cloud and that is why you do not see it.


Tags: bitbucket-cloud

cloud
Start pipeline via strapi Webhook
Asked by Martin P?tzold:

Hi Community,  

following tech stack is used at the moment:  
**strapi headless cms**   
**nuxt static site generator**

I would like to use the strapi webhook to start a new pipeline to generate the nuxt full static site if some new content has been published. I tried to find a solution via bitbucket documentation, but it already fails at the authorization to perform an API call.

Do you have any best practises to get this working?  

Many thanks in advance

Martin


Answers:
author: Norbert C
body: Hi [@Martin P?tzold](/t5/user/viewprofilepage/user-id/4788454)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

I'd like to inform you the best way to start Pipeline is with an API call, let me give you an example for an API call, that you can use the start Pipelines:

```
curl -X POST -is -u username:apppassword -H 'Content-Type: application/json' https://api.bitbucket.org/2.0/repositories/workspaceid/repositoryname/pipelines/ \
-d '
{
"target": {
"ref_type": "branch",
"type": "pipeline_ref_target",
"ref_name": "branchname"
}
}'
```

By doing this API call, you're starting Pipelines on "workspaceid/repositoryname" repository, on the "branchname" branch. You can generate an app password by following the steps in this documentation: <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

Please let me know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Martin P?tzold
body: Hi [@Norbert C](/t5/user/viewprofilepage/user-id/1190200) , thank you very much for your feedback. I've already found out how the authorization works. I'm using the app-password method, too.  

With your help I'm now able to start the pipeline :)

Best regards,  
Martin


author: Norbert C
body: You're welcome [@Martin P?tzold](/t5/user/viewprofilepage/user-id/4788454) I'm glad to hear I was able to assist you.

Stay safe and have a great week ahead!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud

webhook
Does self-hosted runner support long build time >2.5h ?
Asked by Walter Bonetti:

Hi,

We have a lot of non-parallelizable build components. We want to use self-hosted bitbucket runners with a **build time greater than 2.5 hours** (e.g Yocto, Chrome, ...). Is it possible?

B. r


Answers:
author: Ankit Gupta
body: I don't think so. The documentation mentions max limit as \`120\` minutes for each step: <https://support.atlassian.com/bitbucket-cloud/docs/runners/>

You could however split your build into 2 steps maybe and have them run for longer, if possible.

comments: author: Walter Bonetti
body: Thanks,

One big negative point for atlassian/bitbucket, when other players have 70h build time.

Our use case is specialized and our build is not splittable... So, we shouldn't use bitbucket for this purpose.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

scriptrunner