youngmon/atlassian-qna huggingface dataset:
Bitbucket Runner not updating the build script
Asked by Revan Hernandy:

I running some server on my private network so i installing the runner for each server that required code from the repository. I need git pulling on every push code to the repository. i saw the limit that

* **Can't access the local files on the runner host from a build script**: In order to provide isolation and reproducibility, a runner doesn't provide access directly to the host file system, we recommend using SCP / Rsync, if necessary.

how should i do to fix that?


Answers:
author: Mark C
body: Hi [@Revan Hernandy](/t5/user/viewprofilepage/user-id/4544106),

Welcome to the community.

I'm afraid that's one of the [limitations](https://support.atlassian.com/bitbucket-cloud/docs/runners/) of Pipelines Runners at the moment.  
We do have an existing feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-21252>  
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.  
![](https://getsupport.atlassian.com/images/icons/emoticons/information.png) 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).

The workaround suggested for this is to use either SCP or Rsync commands on your Pipelines YAML script.  
You can also consider using the available Pipes below:

* [SCP Pipes](https://bitbucket.org/product/features/pipelines/integrations?p=atlassian/scp-deploy)
* [RSYNC Pipes](https://bitbucket.org/product/features/pipelines/integrations?p=atlassian/rsync-deploy)

Do let me know if you have further questions.

Regards,  
Mark C

comments: author: Revan Hernandy
body: Hi Mark,

I'm exec the runner container then goes to the working directory that I run to. Then I tried to create a directory inside and it works (file bot remote and local is created).

I think it doesn't make sense if I have more than 10 runners running then have to adjust the pipeline script to 10 credentials.


author: Mark C
body: Hi [@Revan Hernandy](/t5/user/viewprofilepage/user-id/4544106)

In this case, I believe you can try to save those credentials as [environment variables](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/) on Pipelines.  

This way, you can manage multiple credentials on Pipelines.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Bitbucket workspace notifications and permissions
Asked by Panometric:

The admin has invited me to a workspace and even created a group and gave me admin the the workspace per[this post:](https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-create-a-repository-in-a-different-workspace/qaq-p/1457647)

Yet I have never received a notification.

* I get confluence notifications from the same company
* I have checked my spam.
* In my bitbucket account settings, all the "email about " options are checked.

Also, when I visit: <https://bitbucket.org/ayudawear/>\<workspace\>/settings it says I do not have permissions.

I also do not see the workspace at: <https://bitbucket.org/account/workspaces/> , yet I see it as <https://bitbucket.org/>\<workspace\>

It seems like the system is using a different email, but he said he saw my avatar when adding me, so that does not seem possible.

MY expectation is that if I use a link like:<https://bitbucket.org/repo/create?workspace=>\<workspace\> that the create workspace dialog would already have the workspace specified, or not even ask. But the workspace name is not in the list of possible workspaces.

![2021-09-05 17_21_56-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/159020iA798EC32D1F10B00/image-size/large?v=v2&px=999 "2021-09-05 17_21_56-Window.png")Any Ideas?


Answers:
author: Panometric
body: That helped a bit, Thanks. The real kicker was knowing you must add a group to add permissions, and finding that. For some reason the main user does not seem to have the Setting gear icon on the Workspace menu, but I do now that I was granted Admin on the group.


author: Mark C
body: Hi [@Panometric](/t5/user/viewprofilepage/user-id/3938818)

Thank you for reaching out to the community.

I checked your email address on our end.  
I can see that it was listed in our email suppression list due to a bounced status.

How our email system determines the bounce status is based on the ISP response:
>
> #### **Bounces (aka Permanent Failures or 5xx Errors)** {#toc-hId--535130600}
>
> When we receive a 5xx response from the ISP, we will log a "bounce" event and determine the bounce classification based on the 5xx response string. (Bounces classified as "hard" bounces (code 10) are added to the suppression list.)

**Reference** : <https://www.sparkpost.com/docs/faq/understanding-delays-bounces/>

For this, I went ahead and removed the bounced status on our end.

Would it be possible for you to ask the admin to re-invite you again?

Let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Need git gc on remote repository
Asked by lwallace:

Hello,

I have a private repository that has hit the size limit and I am unable to reduce the size with the options described at the suggested <https://confluence.atlassian.com/x/xgMvEw> link. I have tried enabling the Labs feature and reset with the force push (the latter of which has worked for me in the past, but did not work this time). I am unable to file a ticket with support for this issue as described as it directed me to the community support, please assist.


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

I can see in our system that your personal Bitbucket workspace owns one repository over 2 GB, so I went ahead and ran a git gc on that. Its size now is 75.5 MB. I'm not sure if this is the repo you are referring to though.

Your Bitbucket account is a member of several other workspaces, so I don't know if your request concerns a repo owned by any of these other workspaces instead? If so, could you let me know the workspace-id/repo-slug of the repo, but masked (replace some characters with asterisks, like \*\*p\*\*g/\*a\*\*\*j\*\*\*n), so I can locate it and run a git gc on it?

Kind regards,  
Theodora

comments: author: lwallace
body: Thank you Theodora, the repository that needs a git gc is bitbucket.org/NR\*ad\*\*\*/e\*\*rb\*\*_\*ar


author: Theodora Boudale
body: Hi [@lwallace](/t5/user/viewprofilepage/user-id/1953974),

Thank you for your reply.

I ran a git gc on this repository and its size now is 133.6 MB. Does this agree with the size of your local repo?

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,  
Theodora


author: lwallace
body: Yes, I was able to push my changes now, thank you!

Lauren


author: Theodora Boudale
body: Thanks for the update Lauren, and you're very welcome!

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

Kind regards,  
Theodora


author: lwallace
body: Hello Theodora, not sure if I need to create a new issue but I am having the same issue on another repository, this time the repository is bitbucket.org/nr\*ec\*/ec\*nb\*\*_\*ar, could you run a git gc for me on this one please?

Thank you!

Lauren


author: Caroline R
body: Hi, Lauren!

We generally encourage users to create a new question for their issue instead of posting on a previous question because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it. So, I would like to ask if you could please create a new question for your issue.

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

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
Maximum duration of pipeline with Bitbucket runners
Asked by Joris Vleminckx:

Hello,

Any idea if the hard limit of 120 minutes for pipeline duration will be maintained or softened for BitBucket runners?

We switched to Runners to be able to execute long-running installations, but are now stumbling upon the 120m hard limit...


Answers:
author: Justin Thomas
body: [@Joris Vleminckx](/t5/user/viewprofilepage/user-id/2555615) Can you please get in touch with [Atlassian support,](https://support.atlassian.com/) they may be able to help you.


Tags: bitbucket-pipelines
Not receiving invitation email for workspace
Asked by Alexander Genauck:

Hi I started working at a new employer and I am not receiving the invitation to the workspace. My email address is: alexander@adsquare.com

I have an Atlassian Account... Everything else works fine (Jira, Confluence ...). Am I on a bounce list with my email address? Can you fix this?


Answers:
author: Mark C
body: Hi [@Alexander Genauck](/t5/user/viewprofilepage/user-id/4543172)

Welcome to the community.

I checked your email address on our end.  
However, I didn't see it in our email suppression list with a bounce nor block status.  
Checking our internal logs, I can also see that we've successfully sent the email invitation to your email address.

For this, would it be possible for you to check if it was caught up in your junk/spam folder?

Let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Sometime a message from a step is being shown in the "build teardown"
Asked by jonathan_ghellere:

We call a custom pipeline that does the following:

```
pipelines:
  custom:
    create_value:
     - variables: 
         - name: SECRET_ENDPOINT
         - name: SECRET_VALUE
     - step: 
         name: Create Value
         image:
           name: myimage
             username: _json_key
             password: '$thepass'
         script:
           - echo "test"
           - ./create_value.sh
```

Sometimes part of the output of the step, more specifically of the script "./create_value.sh", is shown in both:

"./create_value.sh" \<1s

And

"Build teardown" \<1s

For instance, lets say the script will do:

echo "first line"

echo "second line"

The output logs sometimes will be:

"./create_value.sh" \<1s  
first line

And

"Build teardown" \<1s  
second line

This happens 1 out of 20 runs.

Has anyone observed the same behavior?


Answers:
author: Theodora Boudale
body: Hi Jonathan,

It is possible that this is a bug but in order to confirm that we would need to access these builds and do some investigation. Accessing the builds is possible if we have a support ticket open for this issue.

I see that your Bitbucket account is part of a workspace on a paid plan, is the repo where this issue occurs owned by that workspace? If so, you can open a support ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. In the details you can copy-paste your message from here, and please also provide the URL of some of the builds where the issue occurs, so we can investigate. The support ticket will be visible only to you and Atlassian staff.

If the repo is owned by a workspace on the free plan, then I will need to create the support ticket for you, please feel free to let me know if that's the case.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Having trouble showing that directory
Asked by rafaelca:

I created a repository recently but I keep getting this message when I open the repository webpage. I tried to delete it and create another one but I am unable to, getting "Something went wrong" message every time I try to delete it.  

Can anyone help me solve this problem?

![Screenshot from 2021-09-02 10-37-10.png](/t5/image/serverpage/image-id/158697iD77E69B916863566/image-size/large?v=v2&px=999 "Screenshot from 2021-09-02 10-37-10.png")


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

When either of these errors shows, there is usually a 5xx response from Bitbucket along with an error code. If you could let us know this error code (I explain below how you can find it), I can look it up in our system for more details.

I would like to ask if you could please do the following:

1. Open this repository on Bitbucket website.
2. Open **Developer tools** in your browser and select the tab **Network.**
3. Then, either navigate to the page of the repo that shows this error, or attempt to delete the repository.
4. Wait until the page finishes loading, and then check the records in the **Network** tab in Developer tools. There should be a request with a 5xx response. Select it, and in the **Headers** tab, there should be a field named **sentry-id**.
5. Please let me know what the value of that field is, and I can look it up in our system for further details.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Setting up branch permissions
Asked by Martin Beke:

How to add branch permissions to a project level?


Answers:
author: Mark C
body: Hi [@Martin Beke](/t5/user/viewprofilepage/user-id/517148)

Thank you for reaching out to the community.

I'm afraid it's not possible to configure or set up branch permission on a project level at the moment.  
We do have an existing feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-20767>  
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).

Right now, you can only [set up branch permission](https://support.atlassian.com/bitbucket-cloud/docs/use-branch-permissions/) on a per-repository basis.  
You can also automate it by creating your own script using the REST API endpoint [here](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/branch-restrictions#post).

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

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Not getting invitation mail from bitbucket
Asked by Vishnu Vardhan:

Hi,

I'm trying to add an user to our organisation, who was already a member but left the organisation for sometime and rejoined. when he left the organisation, the account was deleted.   
Now when we add him to jira and confluence he is getting the access. but Bibucket he is not able to join, because invitation mail is not received.  

can some one provide a possible mistake or solution.


Answers:
author: Daniel Eads
body: Hi [@Vishnu Vardhan](/t5/user/viewprofilepage/user-id/4541730) , welcome to the Community!

Our email service has a suppression list to keep from sending emails to accounts that no longer exist at your organization. When our mail service receives certain types of errors from the recipient's mail server, that email address is placed on the list and not sent additional emails.

In this case for example, we would have suppressed emails to that member when they left your organization. Unfortunately the service doesn't know when people re-join - so likely the problem here is that the invite email from Bitbucket this time around didn't make it through our mail service.

I've cleared out all the suppression entries for email addresses at your domain name. Please try resending the invite from Bitbucket now!

Cheers,  
Daniel \| Atlassian Support

comments: author: Vishnu Vardhan
body: Thanks [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694) ,  
This resolved my issue.


author: Stephen Hart
body: I'm experiencing this too right now. How do i clear out the suppression entries?


author: Daniel Eads
body: Hi [@Stephen Hart](/t5/user/viewprofilepage/user-id/1248635) ,

I noticed you opened a support case as well, and that the support engineer was able to remove some addresses on your domain from our email suppression list.

Cheers,  
Daniel


author: Atanu Mandal
body: Hi [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694),

I am also facing the same issue with one of our employee who has recently rejoined our org. I would be great if you can help.

Thanks,

Atanu.


author: Theodora Boudale
body: Hi [@Atanu Mandal](/t5/user/viewprofilepage/user-id/2192219),

I can see that you have created a support ticket for this issue. If you provide the email address of this employee in the support ticket, the engineer working on your case will look into it.

<br />

For any other users who may come across this post facing the same issue, please check the following article on how to get support for email issues:

* <https://community.atlassian.com/t5/Bitbucket-articles/How-to-get-support-for-Bitbucket-Cloud-invitation-and/ba-p/1932959>

++You can either create a support ticket or create a **new question** in community.++

Please refrain from replying to other users' questions to ask for help. If the Atlassian engineer who responded to that question is out of office, your reply may not be seen by the rest of the Atlassian team. We suggest either creating a new question in community or a support ticket.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
git: 'credential-osxkeychain' is not a git command. See 'git --help'. fatal: Authentication failed
Asked by swathi konakondla:

git: 'credential-osxkeychain' is not a git command. See 'git --help'.  
fatal: Authentication failed

error: unable to read askpass response from '/Applications/SourceTree.app/Contents/Resources/Askpass'

getting this error when i am pushing to the repositroy from source tree


Answers:
author: KieranA
body: Hi Swathi,

The reason for this is because you most likely have a hook which gets your password from the keychain. It can't work because that config doesn't work with embedded git. You can either switch to using system git in your SourceTree preferences or resolve using something similar to this: <http://stackoverflow.com/questions/13661354/github-for-mac-error-git-credential-osxkeychain-is-not-a-git-command>

Hope that helps


author: Ahmad Mohamad Zain
body: this alloys happens with source tree app and the solution that you change the settings to use the system git not the embedded git with source-tree because source tree is using an older version   

comments: author: Yair Szarf
body: after a lot of looking around, this fixed it for me, Thanks!


author: KieranA
body: Just an update on this. We have 'fixed' this, but the error may still be present. It's not an error, it's more of a warning (the osxkeychain) just to say it couldn't find the authentication helper that's configured. It won't cause authentication to fail through SourceTree, it just won't use one that's set up.

Cheers


Tags: bitbucket-cloud

cloud

ios

mac
(internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.
Asked by swathi konakondla:

getting this error when pushing branch from source tree to bitbucket in mac


Answers:
author: Tyler B [Atlassian]
body: As this is the first thing that comes up on Google when searching this error, I wanted to add the answer I found that worked when I stumbled upon this issue.

[](http://stackoverflow.com/questions/20217389/sourcetree-cant-push-to-bitbucket)<http://stackoverflow.com/questions/20217389/sourcetree-cant-push-to-bitbucket>

In short: I didnt have write access to the repo.


author: Ben White
body: I was getting this because the case of the username I entered was not the same as the case of the username in the URL/path. e.g. I would type **username** , but the repo url was <https://Username@server.com:8443/path/project.git>


author: KieranA
body: Hi Swathi,

This could be the same reason as from this post: [https://answers.atlassian.com/questions/125892/submodule-with-different-user-fails-to-clone-push-with-sourcetree](/questions/125892/submodule-with-different-user-fails-to-clone-push-with-sourcetree)

In short, it might be because you're using HTTPS authentication and not specifying your username in the URL. Have a read and see if it helps.

Cheers


Tags: bitbucket-cloud

cloud

ios

mac
sourcetree for windows 7 installer fails (with log)
Asked by BP:

Installing on Win 7 64-bit.

Although we do use an Internet proxy server, I'm able to download the link mentioned below without any trouble from inside my browser. For some reason the installer can't download it.

Here is the error section of the installation log file:

ERROR DETAILS  
Following errors were detected during this operation.  
\* \[3/25/2013 9:11:14 AM\] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)  
- Downloading <http://downloads.atlassian.com/software/sourcetree/windows/Application> Files/SourceTree_0_9_0_3/tools/7za.exe.deploy did not succeed.  
- Source: System.Deployment  
- Stack trace:  
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)  
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()  
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)  
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)  
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory\& downloadTemp)  
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState\& subState, ActivationDescription actDesc)  
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String\& errorPageUrl)  
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)  
--- Inner Exception ---  
System.IO.IOException  
- Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.  
- Source: System  
- Stack trace:  
at System.Net.ConnectStream.Read(Byte\[\] buffer, Int32 offset, Int32 size)  
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)  
--- Inner Exception ---  
System.Net.Sockets.SocketException  
- An existing connection was forcibly closed by the remote host  
- Source: System  
- Stack trace:  
at System.Net.Sockets.NetworkStream.Read(Byte\[\] buffer, Int32 offset, Int32 size)


Answers:
author: stevestreeting
body: Unfortunately Microsoft's ClickOnce installer only supports proxies where the authentication is NTLM. We've made an offline installer available for the moment: [https://answers.atlassian.com/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree](/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree)

comments: author: BP
body: Yes, I am using a proxy with NTLM authentication. But going through the proxy doesn't work.
Keyboard shurtcut for external diff?
Asked by InvidFlower:

Is there an existing keyboard shortcut to launch the external diff tool on the currently selected file/s? I'm more used to the side-by-side view and it is a pain to have to always click the toolbar button in the diff frame.

Thanks!


Answers:
author: KieranA
body: Hi Shawn,

For Mac it's Cmd+D and Windows it's Ctrl+D once the file is selected. You can see this from the main menu - context menus don't show the keyboard shortcuts by design.

Hope that helps, if not, feel free to ask more questions :)

comments: author: InvidFlower
body: Thanks! Not sure how I missed it in the action menu before...


author: anacrolix
body: It doesn't show it in main menu for me, yet works anyway.


author: KieranA
body: Hi Shawn. Is this for Windows or Mac?


Tags: diff

keyboard-shortcut