youngmon/atlassian-qna huggingface dataset:
BitBucket pipeline run builds sequentially
Asked by Dmitriy Kagarlickij:

I have BitBucket Pipeline that runs Terraform,  
so need to run builds sequentially - next build should wait for previous build to complete  
How is it possible to set?


Answers:
author: Theodora Boudale
body: Hi Dmitriy,

Concurrency control is only possible for deployment steps at the moment:

* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-monitor-deployments/>

For example, if a certain pipeline has three steps, and you have defined the last step as a deployment step to production environment, then that step will get paused if there is another pipeline running a deployment step to production.

I'm afraid that there is no concurrency control for non-deployment steps at the moment. We have a feature request here:

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

Does your pipeline have multiple steps and are you looking for concurrency control on specific steps?

Kind regards,  
Theodora

comments: author: Dmitriy Kagarlickij
body: thanks [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) it does work - next pipeline run is put to Paused state

is it possible for next run to Resume itself automatically when previous run is complete?


author: Theodora Boudale
body: Hi Dmitriy,

Paused deployment steps need to be resumed manually, I'm afraid that there is no way to resume them automatically at the moment.

We have a feature request for automatic resuming of paused deployment steps that you can vote for here:

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

Kind regards,  
Theodora


author: sirubin
body: Hi Dmitriy,

for simplified concurrency management please have a look at <https://www.websemaphore.com> (there is a 1-minute video available). If you have any questions just ping me.

Best regards,

Igor


Tags: bitbucket-cloud

cloud
Migrating bitbucket server to cloud queries, do users and projects disappear from server when moved?
Asked by Lucian Hussey:

Hi, I am working on a project right now to migrate our bitbucket projects and users to cloud. My question is once the migration has taken place (IE: I select migrate all users) will their access be revoked from our local instance? If so is there a way to negate this as we are doing this project by project for now to ensure full functionality.

Many thanks


Answers:
author: Syahrul
body: G'day, [@Lucian Hussey](/t5/user/viewprofilepage/user-id/5489645)

Welcome to the community!

The BCMA migration tool will not make any changes to your Bitbucket server permission or access. The tools will simply migrate the necessary data over to the cloud.

You can check our documentation below to get more insight:

[Bitbucket pre-migration checklist](https://support.atlassian.com/migration/docs/plan-your-bitbucket-server-to-cloud-migration/)

[What gets migrated with Bitbucket Cloud Migration Assistant](https://support.atlassian.com/migration/docs/what-gets-migrated-with-bitbucket-cloud-migration-assistant/)

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
multiple branch user access management
Asked by Samet T?rel:

Hello,  

We plan to work on main software codes and additional development codes in a software project.

We do not want developers who develop on the main software to see the source codes that emerge during the additional development process.

We cannot solve this problem by separating it on a branch basis. If I had to explain with an example,

Developers named A,B,C will only be able to work on ABC Branch,  
Developers named D,E will only be able to work on DE Branch....

A user with the Admin role will manage the entire project and prepare the final version by merging it.

Is it possible to do this on a Branch basis? Is there a detail we missed?

Or;

If I want to do it on a repository basis, is there a structure where we can publish the codes by performing a weekly repository merge?


Answers:
author: Ben
body: Hi Samet,

Unfortunately - this is not possible on a branch basis. If a user has **READ** access (at a minimum) to a repository, they will be able to see all of the code within that repository.

On a repository basis you could do this using project permissions - ie users in ProjectA only have access to the repository in ProjectA, users in ProjectB only have access to the repository in ProjectB.

A possible approach is to create a fork from RepoA (ProjectA) into ProjectB, this way the users in ProjectB can work on the forked repository - once the work is done, an admin can create a PR to merge the changes into the original repository (ProjectA). The problem with this is that you would need to delete the fork each time (to avoid divergence) and no one would be able to work on the original repo while the changes are being made to the fork (also to avoid divergence). The other issue is that once you perform a fork again so that users in ProjectB can perform further work - users in ProjectB would see those changes from prior that are meant to be hidden.

The underlying issue here is that you cannot restrict users with repo access from seeing any of the code in that repo.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

branch

cloud

repository

user-access
Windows runner powershell or cmd?
Asked by Nicolai Grodzitski:

I've added a self hosted runner and see that it works with bitbucket. So it is possible to write a meaningfull pipelines.  

And there comes an essential question: does the script defined in pipeline runs in powershell or in cmd?  
I very much prefer it to run CMD, but seems like it is powershell. Is there a way to start the runner and specify that I want CMD for running scripts or is there a way I can specify it in pipeline definition?


Answers:
author: Syahrul
body: G'day, [@Nicolai Grodzitski](/t5/user/viewprofilepage/user-id/5489439)

We have this explained in our documentation [here](https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/#Limitations-for-Windows-Runner). Basically, the pipeline scripts using Windows Runner will use a Powershell to execute the step scripts.

Unfortunately, it's not possible to change the default behaviour at this moment. Is there any particular reason why you wish to run it in CMD?

Regards,  
Syahrul


Tags: bitbucket-cloud

bitbucket-runners

cloud

windows
I can't just get the last commit on Bitbucket.
Asked by Ahm:

I am using Bitbucket Server v7.13.0. I want to import the last commit and files on a repository to my locale, but it downloads all files on the repository. Even though I tried commands like --depth or filter-branch(prune) I got the same result. Do you have any solution suggestions for this?

Thanks.


Answers:
author: Charlie Misonne
body: Hi!

Are you looking for a way to only get the files that were modified/ added in the latest commit?

That's not what --depth 0 is for. You will get the whole repository but **not the whole history** meaning the clone will be faster and you can not go back to another commit.

As far as I know there is no straight forward way to only get the files that were adapted in the latest commit.

Or am I misunderstanding you?


Tags: bitbucket-data-center

bitbucket-server

data-center
Required to access manage userlist with details of email ID of bit bucket.
Asked by Sunanda Menashinkai:

Hi team..

I am Admin for bit-bucket using the username and APP password for authentication for API methods using this i can successfully able to retrieve the list of users of bit-bucket.

I want to retrieve list of users with details of email, 2FA enabled, and role of the user in bit-bucket is there any API method which provide these details.


Answers:
author: Mark C
body: Hi [@Sunanda Menashinkai](/t5/user/viewprofilepage/user-id/5339436),

Thank you for reaching out to the community.  

Unfortunately, we don't have an API for exporting emails via API in Bitbucket Cloud.  
We do have an existing feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-22532>  
In the meantime, please feel free to upvote and watch the existing feature request through the provided link so that you'll be notified of any updates on its progress.  

We appreciate your patience and understanding as we continue to improve Bitbucket Cloud according to our policy on [implementing new features](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
How to run git gc on the repo
Asked by Edvin Germer:

My repository is way too big. I fixed the issue locally but when i push to the repo i still get a warning saying that the repo is too big. When I clone the repo and look at the size then it is way smaller than it says on the repo settings. I think I need to run git gc on the repo. How can I do that?


Answers:
author: Ben
body: G'day Edvin!

Welcome to the Bitbucket Cloud community! :)

GC needs to be performed on the server side, you may raise a community support ticket and one of our friendly team will execute the gc for you on our end.

I've just executed a gc and the repository has reduced from 3.9GB to 25MB - please check this on your end to confirm.

To combat high repository size usage, we will be rolling out a feature in the coming month to block commits that are over 100MB in size, this can be toggled off/on from Repository Settings.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: vignesh_s_kannan
body: Hi Ben,  

My repository requires a Git gc too !  
<https://bitbucket.org/vignesh_s_kannan/lyra_db_backup/src/master/>  

But i don't know how and where to create a request for it !  

So, i am adding my request as a comment here on this post !  

Can you help me out ?  
And give me directions on where to make my requests in future ?  

Thanks,  
Vignesh


Tags: bitbucket-cloud

cloud
Not recieving email to verify 2FA for Bitbucket
Asked by Brittany Scheid:

I recently purchased a new phone and am trying to set up 2FA on the new device: I disabled 2FA in Bitbucket, and am now trying to re-enable it. I was able to pair with my authenticator app using the QR code, but have not received a verification email from Bitbucket. It seems that without verification, 2FA is not turned on and I cannot access any of my repositories.

Edit:

Solved. For others having this issue:Remember to check _all_ email folders, especially if you filter messaged from Bitbucket....


Answers:
author: Patrik S
body: Hey [@Brittany Scheid](/t5/user/viewprofilepage/user-id/5488981) ,

Thank you for reaching out to the Community!

I see you have edited your question sharing that you were able to find the email in a different folder in your Inbox. Happy to hear you were able to setup the 2FA and thanks for sharing the solution here :)


Tags: bitbucket-cloud

cloud
Facing issue with branch creation
Asked by manish_taazaa:

Hello team,

I am currently facing an issue on Bitbucket that previously, I was able to create a branch with the same name as the source branch prefix . For example, if the source branch was named "test", I could easily create a branch named "test/sonar". However, recently I have been facing issue in doing this. Whenever I try to create a branch following the same pattern, Bitbucket doesn't allow it.


Answers:
author: Patrik S
body: Hello [@manish_taazaa](/t5/user/viewprofilepage/user-id/5168033) ,

thank you for reaching out to the Community!

It may be the case that there's a branch restriction preventing you from creating a branch with a given pattern in that repository.

If you have any branch restriction set in the repository that matches the name/pattern of the branch you are trying to create, verify if you have been granted write access to that restriction.

The creation of a branch is considered a write operation, so for branch names/patterns protected by a branch restriction, you need to have write access configured in that branch.

Hope that helps! Let me know in case you have any questions.

Thank you, [@manish_taazaa](/t5/user/viewprofilepage/user-id/5168033) !

Patrik S

comments: author: manish_taazaa
body: * Thank you!!!!!


author: Patrik S
body: Happy to have been of some help!

Feel free to reach out to Community if you ever need assistance with Bitbucket :)


Tags: bitbucket-cloud

cloud
This is 4GB limit is per repo or full repo?
Asked by shamil707:

This is 4GB limit is per repo or full repo?  

<br />

repo1 + repo2. + repo3 +........ repo n = 4GB

OR

<br />

repo1 = 4GB  
repo2 = 4GB  
repo3 = 4GB


Answers:
author: Syahrul
body: G'day, [@shamil707](/t5/user/viewprofilepage/user-id/349720)

The repository limit is 4 GB per repository. This means the 4 GB size limit is applied to each repository, not the whole. However, the **LFS** storage is limited per workspace.

Please check our plan page to understand the difference between Bitbucket plan:

<https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/>

Regards,  
Syahrul

comments: author: shamil707
body: hi [@Syahrul](/t5/user/viewprofilepage/user-id/744536)   

Thanks for the prompt reply..  

I need your help to understand about the jira.  
do we have workspace concept in Jira as well?  

For shamil707@gmail.com, for bitbucket we are clearly using workspace as "miteteam". but i can see many under jira. Could you me to avoid the confusion here..  

i need only one which is miteteam. but now i can see below   

miteteam {#toc-hId--378211371}
------------------------------

shamil707@gmail.com  

<br />

and another one is  

<br />

**shamil707**

shamil707@gmail.com.  

<br />

may i know where is this shamil707 hidden, because "**shamil707"** workspace in All workspaces.  

but i can see as in screenshot.![Screenshot 2024-05-03 at 11.59.07?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/321752i9D7DF2D42FE1EC40/image-size/large?v=v2&px=999 "Screenshot 2024-05-03 at 11.59.07?AM.png")  

<br />

<br />


author: shamil707
body: if you dont mind can help to give a walkthrough for this.. i am planning to move it to premium customer.


author: Syahrul
body: Hey [@shamil707](/t5/user/viewprofilepage/user-id/349720)

Unfortunately, I am not an expert with Jira; I suggest posting these questions in the [Jira community](https://community.atlassian.com/t5/Jira/ct-p/jira) or [raising a ticket](https://support.atlassian.com/contact/) with us.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Pipelines queued for long time
Asked by APutsykovich:

Nothing happen for a long time - pipeline just stuck in "queued" state for more than 9 mins. But <https://bitbucket.status.atlassian.com/> shows that there is no problems wih bitbucket systems.  


Answers:
author: Patrik S
body: Hello [@APutsykovich](/t5/user/viewprofilepage/user-id/5488515) and welcome to the Community!

There was an incident in Bitbucket Pipelines that was delaying the pipeline start for some customers. Once the issue was identified by our engineering team, a Bitbucket status page update was posted at the following link:

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

The incident is already resolved, and pipeline services are fully restored.

We apologize for any inconvenience this has caused you and your team.

Thank you, [@APutsykovich](/t5/user/viewprofilepage/user-id/5488515) !

Patrik S


Tags: bitbucket-cloud

cloud
I am getting error when I am trying to configure email for the bitbucket cloud
Asked by Suhas Kurse:

Hello,

We just got introduced to the bitbucket cloud. I am using VS code to make changes to my code. I am not able to synch my changes because the email has not been setup.

I am using the cmd git config --global user.email "me@test.org"

I get the following error message.

error: could not lock config file S://.gitconfig: Permission denied

Appreciate your help in resolving the issue

Sincerely

Suhas


Answers:
author: Ben
body: Hi [@Suhas Kurse](/t5/user/viewprofilepage/user-id/5488254)

This sounds like a permissions error to me. If you're using Windows can you please ensure that you run VSCode as an administrator?

If this still does not resolve the problem - try ensuring that the git directory is present first in your home directory before attempting to modify the config:

*

  ```
  mkdir ~/.git
  ```

I hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Why do no rooms appear when configuring Go2Group HipChat Fisheye integration?
Asked by Scott Strmel:

Installed the Go2Group HipChat Fisheye integration, created a HipChat API Token, added it to the plugin configuration, and configured the Basic Access Authentication between Fisheye and JIRA. When trying to add a room to a Fisheye project or repository no rooms appear in the selection form.

Plugin 1.3.3

JIRA 7.0.5

HipChat 1.0


Answers:
author: Murali
body: Scott,

Can you please check if the user configuring in Fisheye owns any room in Hipchat? User between the Fisheye \& HipChat are mapped based on the users email address.

comments: author: Scott Strmel
body: Yes the user owns at least one private room.


author: Murali
body: Does the email id match between the Fisheye and HipChat accounts for the User?


Tags: fisheye-crucible-administration
Git Repository Configuration to Fisheye and Crucible
Asked by Jigar Patel:

Hello,

We have Trial version setup on our separate server for Fisheye + Crucible.

We tried having Git Repo set up to Fisheye.

We have PATH variable define to "C:/Program Files/Git/bin"

When we had this path on admin server setup, it denies to have access to specified folder.

Is it like, trial version do not have this facility?

Please help us. We have 25 days left to try Crucible.

Thank you  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Git-Repository-Configuration-to-Fisheye-and-Crucible/qaq-p/88944?attachment-id=3764){#link_115996f08c539c}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/1175/1/error.jpg){#display_115996f08c539c_0}


Answers:
author: aborowski
body: > Is it like, trial version do not have this facility?

Fisheye and Crucible evaluation is a full-featured commercial but time-limited version.


author: Jigar Patel
body: We have our Gitlab set up on our own separate server and FishEye set up on our own separate server. Is it possible that those separate servers are causing an issue?

I tried other answers available on forums already. None of them worked for us.

Main reason is, we do not have FishEye or Crucible installed in our local machine, we are using that from the server as online tool. So I do not know what exactly is the issue for us.

anybody from Altassian !?


author: Jonas Andersson
body: Isn't that path wrong? i would assume it contains a space like: "C:/Program Files/Git/bin"

May i suggest you try to copy the git binaries to another path (like c:\\tools\\) and see if that works better, if adding a space is not the solution?

comments: author: Jigar Patel
body: <br />

Here is the error we are having.

Error:

/home/crucible/crucible-instance/C:\\Program Files\\Git\\bin\\git.exe does not exist or can not be accessed.

We tried with following definition of PATH:

C:\\Program Files\\Git\\bin\\git.exe

C:\\Program Files\\Git\\bin\\

Not tried with another path as that may need re installation to different location which may disturb our existing set up.

Thank you for your input.


author: dhoormann
body: Is FishEye/Crucible set up to run as a user that has access to it or permissions for it?

comments: author: Jigar Patel
body: Yes, Admin user is experiencing this issue.


Tags: fisheye-crucible-administration
Fisheye Time Format
Asked by Shinjani Gaur:

My current Fisheye time format is in GMT. Where and how can I change this setting?


Answers:
author: Piotr Swiecicki
body: You can change the instance time zone globally (go to Admin / Global Settings / Server, click "Edit settings" in "Server Settings" section and amend "Server timezone", see <https://confluence.atlassian.com/display/FISHEYE/Configuring+the+FishEye+Web+Server>), or per individual user (go to "Profile Settings" / "Display Settings", <https://confluence.atlassian.com/display/FISHEYE/Changing+your+user+profile>).

Hope that helps,


Tags: fisheye-crucible-administration
does FISHEYE_INST environment variable prevent me from installing crucible and fisheye on the save server?
Asked by joseph-greenawalt-fei:

*This question is in reference to Atlassian Documentation: [Installing Crucible on Linux and Mac](https://confluence.atlassian.com/pages/viewpage.action?pageId=298977373)*

According to the documentation this is seems to prevent from doing this as the same variable name is pointing to two different locations. Or am I reading this wrong?

FishEye DOC: FISHEYE_INST="path/to/\<FishEye instance directory\>"

Crucible DOC: FISHEYE_INST="path/to/\<Crucible instance directory\>"

Or can they just share a FISHEYE_INST directory?

Thanks,

Joe


Answers:
author: aborowski
body: FISHEYE_INST directory cannot be shared.

You can try with setting FISHEYE_INST just before starting an instance.

```
export FISHEYE_INST=&lt;location1&gt;instanceA/bin/start.sh
```

comments: author: joseph-greenawalt-fei
body: wow, I don't know how to reply to that.

I see both when unzipped create this folder: fecru-4.1.2 is this the same app? Do i actually need to have two installs to use both of them?

what actually separates them into two applications?

thanks for reply

Joe


author: aborowski
body: Ok, I didn't understand your problem correctly.

I though that you want to install many FishEye or Crucible applications (totally separated). In this case FISHEYE_INST cannot be shared because one application will override another's data.

But, I understand that you want to have Fisheye and Crucible running together.

FishEye and Crucible are bundled together. Each of them is activated when you provide license for it. It doesn't matter which app you start.

Pick one of them, start and add license for both products into same instance.

See <https://confluence.atlassian.com/display/CRUCIBLE/Updating+your+Crucible+license>


author: joseph-greenawalt-fei
body: OH...ok, so I just need one install and the licenses activate each feature? That makes much more sense. Thanks, Joe


Tags: fisheye-crucible-administration

install

linux
Where has author and revision info in source view gone?
Asked by Mike Kleinau:

*This question is in reference to Atlassian Documentation: [Browsing source files](https://confluence.atlassian.com/pages/viewpage.action?pageId=298977471)*

Source view used to show the author and revision number for the latest change to each line - where has that gone?  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Where-has-author-and-revision-info-in-source-view-gone/qaq-p/243158?attachment-id=10183){#link_115997381106c4}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/9164/1/image2017-1-11%2013%3A18%3A45.png){#display_115997381106c4_0}


Answers:
author: aborowski
body: Check out 'Blame' button

image2017-1-11 13:18:45.png  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Where-has-author-and-revision-info-in-source-view-gone/qaq-p/243158?attachment-id=12214){#link_1159973bdfb485}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/9165/1/image2017-1-11%2013%3A18%3A6.png){#display_1159973bdfb485_0}


Tags: permission

source