youngmon/atlassian-qna huggingface dataset:
Bamboo manual stage variables
Asked by Barry Pitman:

Hi,

I'm setting up a build pipeline which will build, test and deploy artifacts to an artifact manager on each commit, as well as deploy the application for testing. We are using the build number as a binary identifier during this stage.

Thereafter, I have manual stages which wait for manual and UAT testing before execution. These manual stages will release the application and deploy to production. What I want to do is provide a separate user-facing release version when I execute the manual stage. I don't know the release version at commit-time.

This seems like a good fit for a parameterised plan, but as far as I can tell I must provide any custom parameters when the plan starts. I want to be able to provide these parameters when I execute a manual stage, is this possible?

Thanks


Answers:
author: James Dumay
body: Barry, there is a feature request open to [add parameterised variables to manual stages](https://jira.atlassian.com/browse/BAM-9531). Please watch and vote for it.


author: PiotrA
body: I think it's possible, but I don't know how exactly. Look here:

<http://confluence.atlassian.com/display/JIRA/Running+a+Bamboo+Build+when+Releasing+a+Version>

This is documentation of Jira-\>Bamboo plugin, in which you can release **\*existing build\*** (I understand that this is triggering manual stage of some already built plan), and I see "Override variables" link in the above documentation. So I'm speculating that overriding parameters during triggering manual stage **\*is possible\***, but unsure how exactly. Maybe only via the Bamboo REST API?
Builds are interrupted after logging out of build machine
Asked by emddudley:

My Bamboo server runs on Windows XP (32-bit), and sometimes I use Remote Desktop to administer it. If I log out of the machine while a build is running on the local agent, the build gets interrupted. Any way to prevent this from happening?


Answers:
author: Bob Swift (personal)
body: We configure our bamboo service to run as a specific user (not the default local system) and this helps with a number of problems running on Windows. Specifically, we don't have the issue you describe at least on Windows Server.
How do I get a remote agent to send its name to the bamboo host
Asked by Nigel Longton:

We are deploying a set of remote agents, but they appear in the Agents page as their hostname. is there a way (maybe the bamboo-capabilties.properties file) for the remote agent to set a more friendly name (such as 'QA Build host engine 2')?


Answers:
author: Przemek Bruski
body: You can change the agent name by editing \<name\> tag in bamboo-agent.cfg.xml located in Bamboo agent home.

comments: author: Nigel Longton
body: Thanks - Can I set this from the installer rather than post editing the file?


author: Przemek Bruski
body: You can try supplying a partially filled-in bamboo-agent.cfg.xml, but I think it's better to edit it post-install.


author: Nigel Longton
body: The file is only created after bamboo is started for the first time, so editing it post install is not possible. If a file with only the following in is created, will bamboo fill in the rest?

\<configuration\>

\<agentDefinition\>

\<name\>my-agent-name\</name\>

\</agentDefinition\>

\</configuration\>


author: Przemek Bruski
body: Yes, that's what I've meant by a partially filled-in file.

Of course, you can also use the Edit link on the agent page to rename the agent.


author: Nigel Longton
body: A problem with pre-creating the file ahead of running the bamboo is that bamboo no longer works out the build directory - is just crashes reporting that there wasnt one. It seems the only field that the agent sets is the agent identifier.
We couldn't load the diff
Asked by K?gi Thomas:

Bitbucket is not able to show a diff. It don't load any commit comments into the pull request nor any hint to changed files. There is only the comment:

We couldn't load the diff {#toc-hId--1214118928}
------------------------------------------------

also standard compare ([https://bitbucket.org/foobar/compare](https://bitbucket.org/oblamatik-entwicklung/tlctemperature/compare)) show nothing.

What I already tried. Changed branch name and merged develop back into current branch without success.


Answers:
author: K?gi Thomas
body: A manual exclude has helped:  
<https://support.atlassian.com/bitbucket-cloud/docs/exclude-files-from-pull-request-diffs/>


author: Neeraj Upadhyay
body: Please share below details

\>\>Are you using bitbucket cloud or bitbucket on-prem?

\>\> Are you using any plugins for this, if yes please disable the plugin and try once

Please check these useful KB links

[The diff for this file is too large to render](https://confluence.atlassian.com/bitbucketserverkb/the-diff-for-this-file-is-too-large-to-render-803604636.html)  
[Pull request is too large to render](https://confluence.atlassian.com/bitbucketserverkb/pull-request-is-too-large-to-render-779171279.html)

comments: author: K?gi Thomas
body: Bitbucket Cloud

No plugin

The diff is not really big.


author: K?gi Thomas
body: Could generate the PR but the diff timed out. Looks like there is a problem with the number of lines in a generated file which exceed maximum.


author: danlobo
body: I had the same. My work around was to push another commit, after which it showed the previous diff. Then committed and pushed a revert of test commit.


Tags: diff
Why I am getting mail when I merge a Pull Request?
Asked by Sreehari S:

From a few days back I am getting the mail each time when I merge a pull request. I am not the one who created the PR or not the reviewer. Is this an issue?


Answers:
author: Caroline R
body: Hi, [@Sreehari S](/t5/user/viewprofilepage/user-id/4582892)! Welcome to the community!

If you are referring to Bitbucket Cloud, our dev team confirmed that this is a new behavior that our product will have. From now on, all actions will be notified. We understand that it may not be optimal and for that reason we have already raised a feature request asking for the ability to opt-out this new feature:

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

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


author: Neeraj Upadhyay
body: Bitbucket Data Center and Server sends email notifications to the author, reviewers, and watchers of a pull request when the below events occur.

Please check this KB :<https://confluence.atlassian.com/bitbucketserver/pull-request-notifications-949754837.html>

comments: author: Sreehari S
body: [@Neeraj Upadhyay](/t5/user/viewprofilepage/user-id/4490372)   
It says when the event 'The pull request is merged' occurs,' The watchers of the pull request' will get mail.  
I am not a watcher of the PR. But I get the Mail.


Tags: bitbucket-cloud

cloud
???????????????????????
Asked by npd-t-maedak11_coop_kajima_com:

DB???  
????????????  
Bitbucket???????  
??????????????????????????\\shared\\bitbucket.propaties?????

????  
Bitbucket??????????  
??????500????????????

?????????????????????????????????????????????????

???????????????????


Answers:
author: Ryoji Takata
body: ?????????????????????

Bitbucket Server????????????????????????????[???????? Bitbucket Server ????????????](https://ja.confluence.atlassian.com/bitbucketserver/migrating-bitbucket-server-to-another-server-776640406.html) ?????????

???????????????????????????????????????????? atlassian-bitbucket.log?????????????????????????????

[????How to read the Bitbucket Server Log Formats](https://ja.confluence.atlassian.com/bitbucketserverkb/how-to-read-the-bitbucket-server-log-formats-779171668.html)


Tags: bitbucket-server

migration
Problem installing Bitbucket Cloud apps from Marketplace
Asked by Ryan Than:

I am having an odd issue where I cannot install any Bitbucket cloud apps through the Atlassian Marketplace. Whenever I try to install an app, I am redirected to a screen that displays:

![Screen Shot 2021-09-24 at 12.39.49 PM.png](/t5/image/serverpage/image-id/162069i395DD4AA754C9A04/image-size/large?v=v2&px=999 "Screen Shot 2021-09-24 at 12.39.49 PM.png")

I have tried about 10 different Bitbucket Cloud apps and they all display this message. I have tried on several different browsers (Safari, Chrome, and Firefox), different computers, and cleared my cookies/cache just to be greeted with the same result each time. I'm not sure if anyone has had a similar issue but I would greatly appreciate any help with this!


Answers:
author: Theodora Boudale
body: Hi Ryan,

I checked the error code from your screenshot in our system and this issue is caused by the following bug:

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

The bug occurs when a user changes the workspace-id of the workspace that was automatically created by Bitbucket upon account creation.

The workaround is to install any apps from the workspace's Settings:

1. Log in to <https://bitbucket.org/>
2. Select your avatar \> **All workspaces**
3. Select the workspace you want to add apps to
4. Select **Settings** from the sidebar to navigate to the workspace Settings
5. Select **Marketplace** from the sidebar

Please feel free to let me know if this works for you and if you need anything further.

Kind regards,  
Theodora


Tags: atlassian-marketplace

bitbucket-cloud
Adding stm32 toolchain in docker image gcc 6.5
Asked by simone_gasparella:

Hi ..

I am trying to integrate bitbucket cloud with sonarqube cloud for an STm32 c project

I am using a docker image called gcc 6.5 .

In such docker image the toolchain for stm32 it is not present..

Can you create it ?

Thanks a lot .

Simone


Answers:
author: Caroline R
body: Hi, [@simone_gasparella](/t5/user/viewprofilepage/user-id/4507459)!

Thank you for reaching out to Atlassian Community!

Could you please confirm if this is a public Docker image hosted in Dockerhub or another registry? And if so, could you give us the URL, so we can see if it's an Atlassian owned image?

Just to give you some context, if this Docker image is not owned by Atlassian, we have no control over what tools it contains.

We do have some Docker images that customers can use, like atlassian/default-image:1 and atlassian/default-image:2 which are documented here:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-docker-images-as-build-environments/>

A quote from the doc:
> Best practices tip: after you have Pipelines working, try to find a specific image you can use to not rely on our default image. We don't upgrade it very often, to maximize compatibility for customers who rely on it, and it includes many tools you might not need. This means you'll likely get bug fixes and faster builds from using your own, smaller build image.

So, our recommendation is to find an image that contains all the tools you need. If you cannot find such an image, you can build your own Docker image with the tools you need. Resources for that are in the section "Creating a custom build environment" of the doc. linked above.

Please, feel free to share any additional information regarding this subject.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Pipelines: gcloud datastore emulator as background process?
Asked by Veronika Priesner:

Hi all!

I would like to establish a Bitbucket Pipelines step that runs integration tests against an emulated database (Google Datastore).

This is the emulator, which can be started via the Google Cloud SDK:

<https://cloud.google.com/sdk/gcloud/reference/beta/emulators/datastore/start>

Once the emulator is running, starting the tests should be as easy as calling

```
mvn verify -Pintegrationtestprofile?
```

I found an image where both maven and gcloud come preinstalled.

The question is: how can I start the emulator as a background process so that I can start the maven execution in the main thread? I haven't been able to set up the emulator as a pipeline service (it requires an init and a start command).


Answers:
author: Caroline R
body: Hi, [@Veronika Priesner](/t5/user/viewprofilepage/user-id/1766),

I saw that you created a ticket with our support related to the same question, 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 question.

Kind regards,  
Caroline


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

google

maven
Bitbucket runner does not work with AWS EC2 Instance Iam Role credentials
Asked by Yves Verrette:

After following the deployment instruction for [Bitbucket Runner](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/) on an AWS EC2 instance I can't get the pipeline to access the instance role.

I tried setting up the credential file inside the container using:

```
credential_source=Ec2InstanceMetadata?
```

This works inside the bitbucket runner container but not the running pipeline. I imagine it's related to the fact that the instance gets these credentials from the url <http://169.254.169.254/latest/meta-data/iam/security-credentials/my> role/ which work in the bitbucket runner container but not the running pipeline one.  

I understand that I can create a user with credentials to get around that but my infra team requires access through the instance role.


Answers:
author: Andrew Gibbs
body: I have a very closely related problem and something very close to a solution but for the ability to inject an environment variable from the outer container in ECS-EC2 into the inner container running the script of a pipeline step...

<https://community.atlassian.com/t5/Bitbucket-questions/use-IAM-role-credentials-from-private-runner-executing-inside/qaq-p/1934915>


Tags: bitbucket-runners

bitbucket-pipelines

cloud
How do I know who is the administrator of the workspace?
Asked by iordachej-admin:

I am part of the team that worked on the workspace <https://bitbucket.org/someworkspace> and I am administrator of those repositories.

However, I want to contact the workspace manager and I have no clue who he is. I cannot just send emails to all team members asking that. Moreover, I am probably the one who created it on behalf of my client but I don't know the email I was using for this and therefore I cannot recover the password. I found no clue on the community forum. Please help.


Answers:
author: Caroline R
body: Hi, [@iordachej-admin](/t5/user/viewprofilepage/user-id/2175517)!

Thank you for reaching out to Atlassian Community!

We cannot disclose the admin's name publicly, but we can do it via a support ticket since you have access to this workspace.

I've found the ticket you created with us, so I reopened it and we will share the information there.

Kind regards,  
Caroline

comments: author: Amish Yadav
body: Where will get the link for creating ticket for this. I have same issue I also want to know the admin details. Coz my admin forgot that by which email they have created bitbucket repo. So I need that account details.


author: Caroline R
body: Hi, [@Amish Yadav](/t5/user/viewprofilepage/user-id/5048239),

You can use the following link to create an internal ticket with support:

* <https://support.atlassian.com/contact/>

And in case you don't have access to a paid workspace and need our help, you can create a new question in our community.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Received verification email but does nothing
Asked by Niamh Dunlea:

Hi,

I am new and have set up my account. I received my certification email and clicked the link but then it said "something has gone wrong" - or something along those lines! it was over a week ago since I set up my account.

I am unable to resend another one as time has passed and now team members have not received my team invite and I suspect this is the reason!

Could someone help me?

Thanks

Niamh


Answers:
author: Theodora Boudale
body: Hi Niamh,

Does this issue concern the Bitbucket Cloud account with the same email as your community account (the one you used to post this question)?

If so, I can see in our system that the email of this account has been verified, so you don't need to take any further action on this. Are you able to log in to <https://bitbucket.org/> and access this account? Or does your question concern an account with a different email?

Regarding the second issue you mentioned:
> team members have not received my team invite

Would you feel comfortable sharing the workspace-id of the Bitbucket workspace where you invited your team members? You can post it in a reply here, and then edit the reply and remove it (I'll still be able to view it). I can then check in our system for any invitations sent from this workspace and see if the emails are in a suppression list.

Kind regards,  
Theodora

comments: author: Niamh Dunlea
body: Hi Theodora,

Thanks for getting back to me. Over the weekend I seemed to get an influx of emails from Atlassian so it seems to be working and my team is seeing the stories etc assigned to them so all is good now!

Thanks again and have a good week,

Niamh


author: Theodora Boudale
body: Hi Niamh,

Thank you for the update, it's good to hear that things are ok now!

Please feel free to reach out if you need anything else.

Have a good week too,  
Theodora


Tags: bitbucket-cloud

cloud
Workspace and repository management
Asked by Laxmi Raghu:

Is there any Super User/admin concept in Bitbucket where that Super User/Admin can see/manage all bitbucket workspaces and repositories created by all users of the organization?

How to configure this Super user/admin in BitBucket cloud?

If any alternate ways of achieving the above, please share.


Answers:
author: Laxmi Raghu
body: Thanks Caroline for the info.

Yes, we are waiting for this feature in BitBucket where, an organization level admin/control which manages workspaces/repositories of all users.

Please let us know when this feature is available to us.

Thanks for the help.


author: Caroline R
body: Hi, [@Laxmi Raghu](/t5/user/viewprofilepage/user-id/4580775)! Welcome to the community!

Currently, the information available on a personal workspace is specific to the user and hence a second person cannot access it. The same applies even for the workspace admin, the org admin and Technical/billing contact.

We do have 2 feature requests to our dev team to give more control over accounts under a specific domain, as you can see here:

* [Corporations need complete control over accounts with their domain](https://jira.atlassian.com/browse/BCLOUD-16609)

* [Provide Organization Admins with granular control over managed Bitbucket accounts](https://jira.atlassian.com/browse/BCLOUD-20097)

One of Bitbucket PMs has informed in one of the feature requests above that our engineering team is actively working on improving the project settings and project permissions model with Bitbucket. They expect the improvements to be complete this year and this should address many of the issues related to this subject.

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
How do you insert a env variable in the service definition image name?
Asked by jj471:

I want to add an environment-specific variable to the service image tag.

For example

image: some-image:{$env_var}

I have tried:

- some-image:$env_var

- "some-image:${env_var}"

- "some-image:{{$env_var}}"


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

I'm afraid that it is not possible to use an environment variable in the Docker image name at the moment. The image name and version need to be specified in the yaml file without the use of variables.

We have a feature request for what you are asking in our issue tracker:

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

If you'd be interested in this, I would suggest that you add 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-pipelines

cloud
Curl doesn't work on only one repo
Asked by Will Plaisance:

We have multiple repositories using bitbucket pipelines, however on one of them the curl command to grab nodejs isn't working like the rest. they have identical yaml files up to that point. The others with the identical curl request take like 30 seconds and output the result. does anyone have any ideas why it wouldn't be working here?

![Screenshot 2021-09-30 115644.png](/t5/image/serverpage/image-id/162933i44DF3469A5CB5821/image-size/large?v=v2&px=999 "Screenshot 2021-09-30 115644.png")


Answers:
author: Theodora Boudale
body: Hi Will,

Are you using the same Docker image for the step that is failing as with the steps that are successful on other repos?

You mentioned that the repos have identical yaml files; one possibility I can think of is that the yaml file may be identical on the main branch of all repos, but it may have been modified on a different branch of the repo (where builds are running) and it may use a different Docker image.

You can view the yaml file for the step that is failing if you open the failed build and select the cog icon that shows the text "View configuration" if you hover it:

![Screenshot 2021-10-01 at 17.58.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/163108i5BD01192C3E4047E/image-size/large?v=v2&px=999 "Screenshot 2021-10-01 at 17.58.02.png")

<br />

Keep in mind that a Docker image may be defined either globally or at the step level.

Kind regards,  
Theodora


Tags: bitbucket-pipelines