youngmon/atlassian-qna huggingface dataset:
Bamboo UI loading slow
Asked by Richard Jones:

Hi All

We have a memory leak so restart bamboo every night. This isnt ideal but works fine. The first time we go to the bamboo UI then it takes about 15 minutes to load. We have about 15-20 plans so there is a lot of information to load. Is there anyway I can get the UI to load quicker?

Thanks


Answers:
author: Marcin Gardias
body: Hi, these the best way to resolve such issues is to contact Atlassian Support (<https://support.atlassian.com>).

If you do so please attach:

* support zip, as described here (<https://confluence.atlassian.com/display/BAMBOO/Raising+a+request+with+Atlassian+Support>)
* heap dumps from your instance, preferable from the time memory usage is already big


Tags: bamboo-administration
Bamboo - build commits not visible after previous build results deleted
Asked by Constantin Bugneac:

Hi,

We have Bamboo linked to Stash through an application link.

If I run manual build after committing to repo, I see the commit in the "Commits" tab of build result which is expected.

Now, if I delete the build result and re-run the plan again - it doesn't show any commits ...

Could someone explain when the commits are displayed and when not?

Somewhere it was mentioned that Bamboo displays only the diffs commits since last build and it works fine

but why it doesn't display anything if I delete the previous builds?

It's not clear the criteria used for displaying build commits ...

Thanks


Answers:
author: Andrey Shovkoplyas
body: And the same thing , if build fails, next build doesn't show commits, and release from this build too.


Tags: bamboo-administration
How can I generate the report for all project and how many times build failed and triggerred in specific date range in excel
Asked by Ajay Arora:

How can I generate the one report for all project and how many times build failed and triggerred in specific date range in excel


Answers:
author: Krystian Brazulewicz
body: Assuming that you're using proper external database (and not built-in DB engine that is good for evaluators) you can connect your reporting tool to DB and take a closer look at `BUILDRESULTSUMMARY` table.


Tags: bamboo-administration
Seeking recommendation for reducing nightly Bamboo backup downtime
Asked by Maggie Stearns:

Hello:

We use the Bamboo nightly backup routine. It runs for several hours and adversely impacts users from other timezones.

Does anyone have any ideas for how to reduce the downtime? Is there anything we can cleanup on the disk or possibly write our own backup script to capture a smaller set of items?

-Thanks


Answers:
author: Krystian Brazulewicz
body: If you're willing to make your DB available for analysis then please contact [our support](https://support.atlassian.com/servicedesk/customer/bsp), make sure you attach Bamboo logs that will cover backup activity. If your DB dump is exceeding allowed attachment size, Support team will instruct you to upload it to our file service.


author: Pawel Skierczynski
body: I'd try making db backup from db (depending what db it is). And backup home directory from os. I think it will be blazing fast in comparison - you will be surprised. Even better if you could afford to turn off Bamboo for that moment.

Backups from Bamboo are getting better but still have some room for improvement...

comments: author: Matt Shelton
body: The problem with this is that we'd need to ensure no builds are running when it is shut down. Only bamboo can tell us that.


author: Mike Friedrich
body: i usually ignore artifacts under two conditions:  
1) i can rebuild anything from git

2) i have extra deployment shares which are backed up

comments: author: Matt Shelton
body: Ignoring artifacts in the backup still ends us up with a backup nearing 2 hours.


Tags: bamboo-administration
Bamboo and Cucumber
Asked by Susant Prusty:

Do anyone has any idea on how to set-up cucumber test in bamboo ? and can anyone help on how to use tags in Bamboo ?

We have a set-up where if we try to run it locally then it works but when we try to run it using Bamboo the build always hungs and becomes never ending.

Any detailed note on this will be very helpful.

Thank you

Regards,

Susant


Answers:
author: VikasB
body: You can create Bamboo plan with following tasks

Source Checkout Task: To checkout source code

Maven Task: To build project and run cucumber scenarios

Cucumber for Bamboo task: To parse cucumber scenarios as test in Bamboo, use Cucumber tags to control build status and integrate results with JIRA

<https://sites.google.com/site/autotestingtools/cucumber-task-for-bamboo>


author: VikasB
body: <https://marketplace.atlassian.com/apps/1214740/cucumber-for-bamboo>

This plugin integrates with Bamboo and JIRA.

The tutorial below could help.

<https://www.autotestingtools.com/cucumber-task-for-bamboo>


author: Volodymyr Krupach
body: You need to check logs from bamboo and cucumber.

Logs in Bamboo: <https://confluence.atlassian.com/display/BAMBOO/Viewing+a+build+log>

This could be useful to get more info from cucumber: <http://stackoverflow.com/questions/1060754/how-to-make-cucumber-show-full-rails-error-message>


author: rsperafico
body: Hello Susant,

Thank you for your question.

If running a Source Code Checkout task from a Stash repository, you could add a Script task with the following:

```
git tag -a "${bamboo.buildNumber}" -m "${bamboo.planName} build number ${bamboo.buildNumber}"git remote add remote http://[USERNAME]:[PASSWORD]@[STASH-BASE-URL]/scm/sup/[REPOSITORY].gitgit push --tags remote ${bamboo.buildNumber}git remote rm remote
```

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
Bamboo - use different branch for build
Asked by Susant Prusty:

Hi All,

In out current set-up we use Bamboo and stash integrated system, where we add the repository using stash and mentioning the repo name.

But the problem is whoever only added to Bamboo as global admin they can only change the branch for build but not for the users who has read/write access.

Do we have to change our set-up ? do Bamboo allows only administrator to select different branch for build?

Thank you

Regards,

Susant


Answers:
author: Susant Prusty
body: Hi Krystain,

Thank you for the response.

Our stash and Bamboo is integrated,what I mean to say is we have couple of project they want to build multiple branches and that we can do it using git in repository host as a connection but if we select stash instead of git then it allows to build only then default branch mentioned in statsh , to switch to other branch for build it requires admin permission in Bamboo.

So I am in doubt if Bamboo is responding correctly ?

Thank you

Regards,

Susant


author: Krystian Brazulewicz
body: Susant

I'm not really sure if I understand your question. Can you explain the problem more? Maybe post some screenshots that will help understand the issue.


author: rsperafico
body: Hello Susant,

Thank you for your question.

I would suggest you on referring to the following documentation for further information as you can set up Bamboo to **Create plan branches for branches detected in the repository** and letting Bamboo to automatically run a build when changes are pushed to the Stash repository.

* [Using plan branches](https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches)
* [Linking to source code repositories - Stash](https://confluence.atlassian.com/display/BAMBOO/Stash)

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
Bamboo Plan branch
Asked by Susant Prusty:

Hi All,

I am trying to use the plan bracn funtionality of Bamboo , I have created a regex and created a branch in stash but a new plan is not getting created in bamboo instead of selecting create plan branch automatically.

Any suggestion on this ? do we miss something ? can anyone send a detail notes on how to use it ?

TIA

Regards,

Susant


Answers:
author: Susant Prusty
body: @all Sorry forgot to update , we have recreated the application link with Stash and Bamboo and then plan branch stated working again.

Thank you

Regards,

Susant


author: Susant Prusty
body: I have removed th regex and tried by creating a new branch in the repository , but no luck.

Thank you

Regards,

Susant


author: Susant Prusty
body: Hi Rafael,

There is nothing wrong with the regex it was working earlier.

I am able to do polling from the repository , I am able to create plan branch manually and all branches are getting listed.

Only problem here is automatic cretaion of plan branch is not working.

Thank you

Regards,

Susant

comments: author: rsperafico
body: Hello Susant,Thank you for your update.You have mentioned: "it was working earlier".\* What changes have been made to Bamboo and/or repository?\* When did stop working?\* Does the issue happen on a specific repository?\* Does the issue happen with a specific user?\* Does Bamboo and Stash run on the same box? If not, could you check if datetime are in sync, please?---Kind regards,Rafael P. SperaficoAtlassian Support


author: Susant Prusty
body: Hi Rafael,Thank you for the swift reply, Please find my answers below.We haven't change anything wrt Bamboo or repositoryI am not sure since when it is not working, I got a compain so stated looking into itIt is for all the repository and for everyoneNo both the application are hosted in different box,Dat and time, I have to check . let me check and update you.In logs I haven't found much , can you let me know a keyword to search if any errors.But there are couple of errors I can see that is (Branchexpiry job) not sure if it is interrelated.Thank youRegards,Susant


author: rsperafico
body: Hello Susant,

Thank you for your question.

Could you please run a simple test by removing the regex from "Plan configuration \>\> Branches" tab and let us know if when committing something to a Stash repository branch, the same gets created automatically and the build gets run, please? Though that, we can narrow the issue to the regex used in case the branch is detected and build is run.

Please, refer to [Using plan branches](https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches) documentation for further information.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
Build tests log activity
Asked by Ishai Abiri:

Hi,

I'm using Bamboo version 5.7.0.

I'm looking for an option to view a live log, same as the console activity log already given in Bamboo.

However, I'd like to watch a log of my running tests, i.e. my build run a lot of tests which write to a specific log.

The only way to see this log right now, is to login the remote agent running the build and tailing that log.

Is there a way to view specific logs via Bamboo? Is there any plan/job configuration for that?

Thanks, Ishai.


Answers:
author: Przemek Bruski
body: Other than what Sergey suggested, there's no way to do that.


author: Sergey Podobry _Stellarity Software_
body: Hi,

Can your tests write to stdout? If yes you can use [tee](http://en.wikipedia.org/wiki/Tee_%28command%29) to have logs in stdout and a file at the same time.
I have 2 bamboo instances with different sets of users.
Asked by Gbowe:

Which groups do I use in JIRA-Crowd to auth each.

The default group is bamboo-users which I have been using on our long time running instance of bamboo. We now purchased a new instance of Bamboo for a different group but they will authenticate via the same JIRA-Crowd. Can I setup which group the new instance users for its users?


Answers:
author: Timothy
body: I think you should create another JIRA User Server to handle your second Bamboo instance. Though, the same users, groups and memberships will be used for both Bamboo instances.
> Can I setup which group the new instance users for its users?

Create a new group in JIRA called bambo-users-new and use this new group in the 2nd Bamboo's permission architecture.

comments: author: Gbowe
body: Thanks Timothy. So login still requires membership to bamboo-users right? And then I would set permissions on build plans based on my new list of users?


author: Timothy
body: No. Login requires the user to be granted the Access Bamboo permission (<https://confluence.atlassian.com/display/BAMBOO/Granting+global+permissions+to+users+or+groups>) no matter which group you create in JIRA.


author: Gbowe
body: Excellent. That works great. Thanks again Timothy,
How do I get Bamboo to use different variables in an auto branch build?
Asked by Richard Cross:

I can see there's a way to configure variables against specific branch plans, once they have been created, but is there a way to set some defaults that only apply to branch plans that are automatically created (when the code branch is pushed into Stash?)

One case is where I need SonarQube to run in incremental/preview analysis in all branches, and only run in full "analysis" mode when the main plan builds.


Answers:
author: Marcin Gardias
body: Bamboo doesn't have that feature (yet), but I think you can still achieve what you need. Here's how:

The name of the current branch is available in variable called bamboo.planRepository.branchName. You can match this against 'master' (or whatever your main branch is called).

Now, if you run SonarQube from script task then the rest is easy. Things get a bit complicated if you absolutely need some Bamboo variables to be set. In that case:

* create a script that would write the values you need to a .properties file, checking branchName to see which values should be written
* use Inject Variables Task to read those variables
* use injected variables as any other variable in subsequent tasks

In case you have multiple Jobs in your build, you might want to create a 'preparation stage' that would produce all the variables. If you set 'result' scope in the Inject Variables Task, the variables become available in all subsequent *stages* of the plan. (and not just the current Job)

Note that the above applies to Bamboo 5.7 and later.


Tags: bamboo-administration
Artifact Dependencies not available for Jobs
Asked by Adalbert Wysocki:

I am using Bamboo Cloud.

I am looking at the following page in order to configure artifacts dependencies between jobs:

<https://confluence.atlassian.com/display/BAMBOO/Sharing+artifacts#Sharingartifacts-Sharingartifactsbetweenjobs>

When I go into my depending job to the Artifacts tabs, the only option is to define a "Definition" but not a dependency.

Please help

Aldo


Answers:
author: Adalbert Wysocki
body: Hi,

Actually the problem was that my 2 jobs were in the same stage.

After creating 2 stages, I can create a dependency in the second stage on the artifacts from the first stage.

Thanks!

comments: author: maxikq
body: You saved my day, thank you :)


author: rsperafico
body: Hello Adalbert,

Thank you for your question.

Please, notice the [documentation](https://confluence.atlassian.com/display/BAMBOO/Sharing+artifacts#Sharingartifacts-Sharingartifactsbetweenjobs) refers to two or more jobs:

"...sharing the same WAR from one job to another..."

"**To share an artifact between two jobs in different stages:**"

In order to view the "Create dependency" button under "Artifacts" tab is it required to set up a second job under the same build plan.Screen Shot 2015-02-16 at 12.46.48 PM.png

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support  
[](https://community.atlassian.com/t5/Bamboo-questions/Artifact-Dependencies-not-available-for-Jobs/qaq-p/134351?attachment-id=5762){#link_11690bf1361a46}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/4333/1/Screen%20Shot%202015-02-16%20at%2012.46.48%20PM.png){#display_11690bf1361a46_0}


Tags: cloud
Bitbucket pipelines paused even though there is no running pipeline
Asked by Tony Kang:

I'm running a deployment pipeline on bitbucket with the following steps.

\<url_removed\>

It used to work fine until today. There are no concurrent pipelines running, but the pipeline pauses after saying that another pipeline is in progress. When I click on the pipeline that's blocking the current pipeline, it redirects me to the same pipeline. \<url_removed\>

I tried rerunning the entire pipeline / rerunning the paused step several times already as the post here <https://support.atlassian.com/bitbucket-cloud/docs/deployment-concurrency-control/> suggests.

Is there a way I can manually empty the deployment queue so enable the pipeline to get going again? Or do I need to create another pipeline because this pipeline is dead due to a bug?


Answers:
author: jeafgilbert
body: I'm also experiencing this issue. Already tried until Pipeline #21 because I repeatedly pressing Rerun, I thought it would run the same pipeline but it doesn't and creates new instead. If I click 'another pipeline' link, it's all pointing to the same pipeline #8.

![Screen Shot 2022-05-11 at 6.56.55 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/196834i1F8FB80463ACBC74/image-dimensions/330x284?v=v2 "Screen Shot 2022-05-11 at 6.56.55 PM.png")

This is the pipeline #8. I put wrong script in the commit, its status is already **failed** though.

![Screen Shot 2022-05-11 at 6.52.17 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/196835i6C24A6F7C717713B/image-size/large?v=v2&px=999 "Screen Shot 2022-05-11 at 6.52.17 PM.png")

This is my first experience using Pipeline, so I also tried to clean up the Pipeline by deleting the log, including deleting this #8 log. Turns out Pipelines cannot be deleted/cleared, now I can't share what the log is.

![Screen Shot 2022-05-11 at 7.06.52 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/196836i4D68390BFDDD81F2/image-dimensions/266x173?v=v2 "Screen Shot 2022-05-11 at 7.06.52 PM.png")

Sorry if me causing this issue ?

comments: author: jeafgilbert
body: It's resolved by Bitbucket development team, thank you! [https://bitbucket.status.atlassian.com](https://bitbucket.status.atlassian.com/?subscription_confirmed=true#)


author: Theodora Boudale
body: Hi Tony and welcome to the community.

I believe that you are affected by this incident:

* <https://bitbucket.status.atlassian.com/incidents/v4fpg45fprx2>

Our development team is working on a fix, you can subscribe for updates via the link on the status page I posted.

If you still experience issues after the incident is resolved, you can reach out to the support team via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

Just a heads up, I removed the Pipelines URLs from your post to protect your privacy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do one set the gitignore to Yes and Include a README to Yes when creating a repository with API
Asked by Len Esterhuyse:

curl -X POST -v -u "user":"pass" "<https://bitbucket/2.0/repositories/{workspace}/repotest1>" -H "Content-Type: application/json" -d "{\\"has_wiki\\": true, etc. ... ...


Answers:
author: Mark C
body: Hi [@Len Esterhuyse](/t5/user/viewprofilepage/user-id/4894962)

Welcome to the community.  

Let me verify this internally and get back to you.

Regards,  
Mark C

comments: author: Mark C
body: Hi [@Len Esterhuyse](/t5/user/viewprofilepage/user-id/4894962)  

I just got an update from our product team that it is not possible to include README and .gitignore while creating a new repository via API 2.0.

It is only available on the Bitbucket Cloud UI at the moment.

For that, I went ahead and created a new feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-21904>  
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.  

Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).  

Do let me know if you have further questions that I can help with.  

Regards,  
Mark C


Tags: api

bitbucket-cloud

cloud
Bitbucket Cloud Migration Assistant Missing
Asked by Gbadebo Ogunleye:

Hello all,

We run an older version (5.2.2) and I am in the process of migrating to the cloud. When I search the marketplace for Bitbucket Cloud Migration Assistant (BCMA), the search always comes back with zero result.

Do I have to upgrade to a newer version of bitbucket before I can find the BCMA application in my marketplace? Also, I just realized that the license is expired, do I need to renew or just focus on the cloud migration and cloud licensing after migration?

Finally is an active license needed to start the cloud migration?

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Short story is "yes" - you need to be on Bitbucket 7 or above to install the assistant.

You can upgrade your Bitbucket to any version released before your licence expired - if you were in support on 8th March 2020, you can go to version 7.0! If your licence is too old to go to 7+, then you will need to talk to Atlassian about a renewal.

See <https://support.atlassian.com/migration/docs/use-the-bitbucket-cloud-migration-assistant-to-migrate/> and [https://marketplace.atlassian.com/apps/1226610/bitbucket-cloud-migration-assistant?tab=overview\&hosting=server](https://marketplace.atlassian.com/apps/1226610/bitbucket-cloud-migration-assistant?tab=overview&hosting=server)


author: Lacey Evans
body: Hi [@Gbadebo Ogunleye](/t5/user/viewprofilepage/user-id/4912392) : I have joined a new organization and we are also working on Bitbucket server 5.2.2 while exploring a move to cloud.  

I was researching around it, when I found this thread. Reaching out for your inputs in terms of how much time it took for your team to migrate Bitbucket server to Cloud. With some tentative timelines , we would also be able to plan accordingly.  

Thanks in advance and I look forward to hearing from you.


Tags: bitbucket-server

migration-assistant

migration-customer-care

server