youngmon/atlassian-qna huggingface dataset:
Is there a .NET 6 Pipeline Template?
Asked by Steven Francisco Velez Alejo:

* I Need use the pipeline for .NET 6

![bitbucket-pipelines.png](https://community.atlassian.com/t5/image/serverpage/image-id/186738i7226A8216B23E507/image-size/large?v=v2&px=999 "bitbucket-pipelines.png")


Answers:
author: Mark C
body: Hi [@Steven Francisco Velez Alejo](/t5/user/viewprofilepage/user-id/4793935)

Welcome to the community.

Right now, we only have the .NET YAML template for **mcr.microsoft.com/dotnet/core/sdk:3.1**   
However, I do believe you can use **mcr.microsoft.com/dotnet/core/sdk:6.0** as your base Docker image.

Would it be possible for you to confirm if you're unable to use it on Pipelines?

Regards,  
Mark C

comments: author: Tim Gabrhel
body: Updated container images can be found here

<https://docs.microsoft.com/en-us/dotnet/architecture/microservices/net-core-net-framework-containers/official-net-docker-images>

mcr.microsoft.com/dotnet/aspnet:**6.0**

mcr.microsoft.com/dotnet/sdk:**6.0**


Tags: .net

bitbucket-cloud

bitbucket-pipelines

cloud
Is the only way to run self hosted ruuners for bitbucket pipelines with docker?
Asked by kalib:

In all the documentation pages that I see for how to run bitbucket pipelines self-hosted runners, it always gives the docker command to run your runner. Is that the only way?

Is it possible to also run it on a regular VM or EC2 instance for example, without running docker inside that VM? My concern is with the docker-on-docker situation, since I run builds of docker images, etc...

Thanks.


Answers:
author: Mark C
body: Hi [@kalib](/t5/user/viewprofilepage/user-id/3485966)

Thank you for reaching out to the community.

I'm afraid installing Docker is part of the requirements when using [Linux Docker](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/).  
For that, you can't use [Linux Docker](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/) in an environment (VM, EC2, or local machine) without Docker installed.  
This is because you'll need to run a **docker container run** command to start a Runner and it will be run in a Docker daemon.

Do let me know if you have further questions.

Regards,  
Mark C  

**EDIT** : The response above is only applicable to [Linux Docker](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/)

comments: author: Justin McCamish
body: Hi [@Mark C](/t5/user/viewprofilepage/user-id/1210823) ,

In view of Kristoffer's response re Windows and the fact we're a good 18 months on, could you clarify the situation as it currently stands for Windows, please? I haven't been able to determine what's possible for our specific situation from the Atlassian self-hosted Runners documentation and web searches haven't turned up anything that's relevant.

We have to run code compilation multiple times a day for an old-but-stable data processing platform (one of those no-one's heard of but is almost everywhere in banking and government) via the software vendor's Windows-only command-line interface that is, sadly, Docker-hostile (for reasons I won't bore you with here).

Currently we use Bamboo Plans and our own custom Bamboo-native plugins to achieve CI / CD automation for Atlassian customers that also use this old system. However, we would like to get things running using Bitbucket Pipelines if possible, hence the above question.

With thanks.


author: Mark C
body: Hi [@Justin McCamish](/t5/user/viewprofilepage/user-id/727605)  

Thanks for reaching out to the community.  

I have updated my response and I'd like to clarify that the response above is only applicable to [Linux Docker.](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/)  

We do have existing [Runners that support the Windows operation system](https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/).  

Regards,  
Mark C


author: kristoffer
body: From what I can see the Windows version of the self-hosted runner does not involve Docker at all. Rather it seems to be some sort of Java application.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Scriptrunner: Timeout for pre receive hooks?
Asked by wlfbck:

Is it possible to put in a timeout for the scripts that will be executed if you add a "Custom pre-hook" under "Pre Hooks"?

Because i just tested it with a simple while(true) and it has been running for about 10minutes now. I would very much like to prevent this.


Answers:
author: Robert Giddings [Adaptavist]
body: Hi [@wlfbck](/t5/user/viewprofilepage/user-id/3907117) ,

Thank you for your post.

Currently you have two options with ScriptRunner for Bitbucket.

In your Scripts you could add an @TimedInterrupt annotation, as documented here: <https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/transform/TimedInterrupt.html>

This should add a timeout to the Scripts that is added too.

If however you find yourself with a Script that appears to be running forever, currently, you would need to restart your Bitbucket instance.

This is something we are looking to improve with the product.

I hope this helps answer your question?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket

comments: author: wlfbck
body: TimedInterrupt should work, i will try that out. Thank you for the suggestion!

But from an administrators perspective i think it would be great if runtime could be limited via a general Scriptrunner setting, since something like this could happen without any intention and then just as easy go unnoticed.


Tags: bitbucket-server

scriptrunner

server
Can't update sourcetree on Windows 10
Asked by Mark Sibly:

Hi,

I'm running sourcetree 1.6.14 on Windows 10, and am having problems installing the 1.6.20 update.

After attempting to install, I get:

"Some of the updates failed to install properly".

I have successfully updated sourcetree in the past, on Windows 10 too I think. This has just started happening recently.

Any ideas?

Bye!  
Mark


Answers:
author: Mamata Gelanee
body: I have same issue as i am not able to install sourcetree..Help me ..:smile:


author: Gyles Polloso
body: I don't have SourceTree on my pc yet and I can't install 1.6.20 on Windows 10. So I think it's a problem with this specific update.
Why does SourceTree not store my password for Submodules in the OS X keychain?
Asked by Lars Schneider:

I clone a repository from GitHub Enterprise with the latest SourceTree version on OS X 10.10. The clone URL is:

<https://git.company.com/org/repo.git>

SourceTree presents me a dialog to enter my password with the following text:

----------------

**Password Required**

For user myuser on host https://  
myuser@git.company.com

X Store Password In Keychain

----------------

Unfortunately SourceTree does not store the password in the keychain properly. The password is not used to clone the submodules (also HTTPS protocol) and I am asked for a password for each Submodule. Do you see what is wrong?


Answers:
author: harshay_b
body: Any update on this? I ran into the same issue. Its really annoying.
How I can solve : CERTIFICATE_VERIFY_FAILED (_ssl.c:590) ?
Asked by Meinhard Sattler:

Hey,

I can't clone my Repos, that I can reach by Browser.

So the Login Data is correct.

I always get the error message

abort: error: \[SSL: CERTIFICATE_VERIFY_FAILED\] certificate verify failed (_ssl.c:590)

So maybe someone of you know how I can solve this problem.

SourceTree Version 2.0.5.2 (2.0.5.2) on MacOSX 10.10.5


Answers:
author: Taha Khanzada
body: Hi Meinhard,

Is your source repo using self signed certificate? if yes then you might check the resolutions mentioned in below link

<https://confluence.atlassian.com/display/SOURCETREEKB/Resolving+SSL+Self-Signed+Certificate+Errors#ResolvingSSLSelf-SignedCertificateErrors-SSLcertificatesandMercurial>

Taha


author: Hendrik
body: Hi Mr Meinhard,  

You should add your hostfingerprints to your local hgrc file.

<br />

Cheers

comments: author: John Yeary
body: I had the Key ID entered as a SHA-256 key, and it still did not work. When I added the key as an SHA-1 fingerprint, the application started working as expected.


Tags: clone

repository
revert origin/master to my local master
Asked by Miroslaw Woron:

I've pushed a few commits to origin/master instead of side branch. I reverted my local master to the commit I want. Obviously I can't pull and then push because that would bring in undesired changes. I can't push straight away either, because my local branch is behind a few commits. Now how can I push it to origin and overwrite it?

Thanks,

Mav


Answers:
author: Tim Crall
body: At the command line: git push -f

I'm not sure if there's a way to do it from SourceTree - I'm not seeing one right off hand.

Use that command very judiciously, though. If anyone else has pulled the bad commits on to their local repositories, you would be better off reverting the commits rather than "deleting" them.

Also it is possible that your remote may be configured to reject force pushes, in which case this won't work.

comments: author: Johannes Kilian
body: "Forced push" is not accessible in windows version of Sourcetree - see: <https://jira.atlassian.com/browse/SRCTREEWIN-338>


author: Tim Crall
body: You should be able to do it from Git Bash (command line), though, if it hasn't been disabled on your remote. Again, you should use it judiciously, if at all.


author: Julius Davies _bit-booster_com_
body: To push any arbitrary commit-id to origin/master from the command-line, here's the command (this forces origin/master to become the exact commit-id specified):

```
git push --force origin <commit-id>:refs/heads/master
```

For example:

```
git push --force origin?6fe08acd2f:refs/heads/master
```


author: nh
body: I am not fan of git... but no option and forced to use...

I have same question how do revert my change or change committed file without creating another change list


author: Miroslaw Woron
body: Thank you Tim,

I'll investigate further.

comments: author: Tim Crall
body: Also note that in Git there is an important difference between the "reset" command and the "revert" command. The reset command moves the HEAD back to a previous commit. The revert command creates a new commit on the end of a branch that undoes the changes made by a specific commit (without actually removing that commit from the graph, therefore avoiding rewriting history).
URL to download Sourcetree osx-version 1.8? Misleading Download-Button-Description on website
Asked by Ren? Thiel:

Hello,

Since osx-version 1.9 the support for systems running under 10.6 was dropped. But still the website writes 10.6.+ on the Download-button in the right corner [Link to sourcetree-website](https://de.atlassian.com/software/sourcetree/overview)

But I am desperately looking for that old version that supports osx 10.6, which is sourcetree for mac 1.8.

May someone deliver me the Link or binary, please?

Thank you in advice,

Greetings,

Ren?


Answers:
author: Ren? Thiel
body: I found the answer myself :smile:

For the logs:

You can simply reduce the version numbers by changing the url.

Try: <http://downloads.atlassian.com/software/sourcetree/SourceTree_1.8.0.dmg>

comments: author: windwagon
body: Sourcetree 1.8.1 is the version that you are looking for


author: Ren? Thiel
body: Thank you, but I'm sorry to say, but it's not. 1.8.1 is not installable on OSX 10.6.8 (incompatible OS notify when doubleclicked)1.8.0 is installable on 10.6.8. That's why i started my "research" :-)
Installer says .NET Framework 4.5 is required, and finds Version 4.0.30319 - but 4.5 is installed
Asked by Thomas Wahrlich:

Hello all,

as stated above, the SourceTree installer cannot find the installed .NET framework in the correct version. This is incredibly irksome, as I don't know what to do about this. As I'm in a corporate environment, I can't simply un- and reinstall the .NET framework (and IT support won't do it either), and even then, I'm not sure it would even help.

An older version of the framework ***is*** found on the computer. Any pointers?


Answers:
author: Max Blackmer
body: As noted above in the main question I have Windows 7 Enterprise. I performed a repair on Microsoft .NET 4.5.1 and then rebooted the system. After doing the repair I was able to install Sourcetree 1.8.3. The problem is with most corporate environments do not allow this and must put a request into ITSM to get this done for them and install Sourcetree updates.

The problem may be that the .NET 4 Extended was installed after 4.5.1 was installed and confused the installer. running a repair on 4.5.1 and a reboot appears to fix the problem with the installer.


author: Max Blackmer
body: I noticed this happening in the installer for 1.8.3 of Sourcetree for Windows 7 Enterprise.

Microsoft .NET Frameworks installed:

* Microsoft .NET Framework 4 Extended
* Microsoft .NET Framework 4.5.1

Even when the Installer executes the installer for .NET 4.5 successfully it fails to recognize the freshly installed 4.5.1. The installer refuses to install and it is present on the system. The installer fails to recognize that in fact .NET 4.5.1 is installed and can not be overridden or continue to install Sourcetree.
How to make SourceTree work with the latest Git for Windows?
Asked by Lars Schneider:

I am running SourceTree 1.6.20.0 on Windows. If I use the embedded Git (1.9.5) everything works fine. If I install the latest Git (2.5.1, [Git-2.5.1-64-bit.exe](https://github.com/git-for-windows/git/releases/download/v2.5.1.windows.1/Git-2.5.1-64-bit.exe)) then the SourceTree "Terminal" does not work anymore. If I enter "**git** " then the shell returns "**sh: git: command not found**".

I confirmed this behavior on two separate machines. One running Windows 8.1 and one running Windows 7.

I need Git 2.5.1 - How can I make it work in SourceTree?


Answers:
author: Chamur Sylvan
body: It will be better if they add support for set own terminal app or update for using with git 2.5.1.

I want use suggested (default) mintty terminal in Git 2.5.1 for windows. It is better.

So now it is not possible and my workflow has problem with that.

And no, custom action is not sollution.

comments: author: Seth
body: That's a valid opinion, but doesn't answer the question. If you want to convince Atlassian to make a modification to SourceTree, you should file a request at jira.atlassian.com


author: Chamur Sylvan
body: ok, here it is <https://jira.atlassian.com/browse/SRCTREEWIN-3704>


author: Seth
body: Check your PATH. <http://superuser.com/questions/568964/git-command-not-found-windows>
sourcetree "copy sha to clipboard" is very slow
Asked by michaelstr:

The "copy sha to clipboard" is extremely slow. Why is that?


Answers:
author: iongion
body: In fact, clipboard copy of *anything* is **++slow++** , **++blocking++** even for a few seconds, Sourcetree version **1.6.20.0**


author: iongion
body: Version **2.0.20.1** still has this issue

This is on Windows 10, I have noticed similar "stuckness" when copy-pasting in the integrated Windows Mail application that comes with the OS.


author: prestonmatterport
body: This is still an issue in 1.9.6.1 (windows).

I've never seen this kind of issue in any other program I've ever used.


author: Roman Shchekin
body: I can confirm this. Actual in the middle of 2016.

\>\> In fact, clipboard copy of *anything* is **++slow++** , **++blocking++** even for a few seconds

Did you see slowness in MS Word? Or Visual Studio? It is like saying that sort is slow because you are using bubble sort instead of quicksort.
How do I change the github user in SourceTree?
Asked by Phil Oxenberg:

We have a private GitHub repo with several branches and we have several users. I must have specified the "root" user when I first installed SourceTree, but I prefer to use a different user when interacting with GitHub, one that only has access to specific GitHub branches. How do I accomplish that?


Answers:
author: sreekumar_menon
body: Hope this helps -<https://goo.gl/9x4YdU>

Note- the post above is for bitbucket, it applies to git as well.

comments: author: Phil Oxenberg
body: Thank you, but I'd already tried that but at no time was I ever asked for the the password associated with the user account.


author: sreekumar_menon
body: if you want to work with multiple user accounts, you can create gitconfig and add different remotes.check this <http://code.tutsplus.com/tutorials/quick-tip-how-to-work-with-github-and-multiple-accounts--net-22574>


author: Phil Oxenberg
body: thanks.
Install sourcetree on an external usb drive
Asked by hugo_kinner:

I have installed sourcetree on both my computer and on an external usb hard drive. When I want to start sourcetree on my external driver from my computer it's start the desktop sourcetree. This is really annoying. I want them separated.

From my computer I can't upgrade the sourcetree on external driver because the desktop version is up to date.


Answers:
author: Seth
body: Windows software usually takes advantage of OS features that tie the installation to the original computer, regardless of what medium it is installed on. For example, it may store some settings in the registry, or configuration files in your user profile.

I don't believe Atlassian has made any effort to build a "portable" version of SourceTree. You find or create a feature request at jira.atlassian.com. Someone has made their own attempt at making it portable here: <http://portableapps.com/node/37839> I don't know whether that will work in parallel with a local installation.


author: hugo_kinner
body: Hehe, I understand that things can be confusing that you need both versions - but I do. At home I use "desktop" version. The external drive for instance when traveling to work. When I come home I often want to continue on my "desktop". I want to start the program on external drive or desktop whenever I want. When I attach it to a new computer that never has used sourcetree before it want to set up a new configuration but I want the program to start and it's never possible to update the software on the external drive because it's install it on the computer even If I select my external drive.


author: Seth
body: I can understand why you might want SourceTree on an external drive, but why would you want it on BOTH an external drive AND your primary drive? Seems that things might work better if you didn't have the "desktop" version.
Can't Login to Bitbucket from SourceTree
Asked by Jacob Cable:

I have a strange problem with sourcetree. When I try to login to BitBucket from sourcetree, I get an error saying "Login failed for your Bitbucket account. The remote service said: 'An error occurred while parsing EntityName. Line 60, position 23.' I am not sure why this is happening - I know that my username and password works correctly on the website. Please help?


Answers:
author: rrudnicki
body: Hi Jacob,

Maybe you have some especial character into your username/password that is causing this issue. However, since this involves some investigation, please raise a ticket with Bitbucket Support.

Regards,   
Renato Rudnicki
Where is the correct place to set my username/password to be accessed globally?
Asked by chunk-solutions:

On committing I get this error:

\*\*\* Please tell me who you are.

Run

git config --global user.email "you@[example.com](http://example.com)"

git config --global [user.name](http://user.name) "Your Name"

to set your account's default identity.

Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'X@X-Mac-Mini.(none)')

\*\*\*

On my windows machine I would use the git commands in the bash/command line but I am still new to Mac and am not sure how to proceed, am I missing a simple setting in SourceTree somewhere or is this a bit more involved?

Cheers


Answers:
author: rrudnicki
body: Hi Paul,

If you've installed Sourcetree, I suppose you also has installed git. So, when you open your repository on Sourcetree you should have a icon on right side on top, called *Terminal.*Just hit that and run the commands which git is complaining:

git config --global user.email "you@[example.com](http://example.com/)"

git config --global [user.name](http://user.name/) "Your Name"

Regards,

Renato Rudnicki


Tags: moderators
Error 429 when pushing
Asked by Rio Asmara:

I've got this following error randomly, and it happens frequently

Screen Shot 2015-08-26 at 9.33.26 AM.jpg

When I go to the bitbucket to log myself out then re-login, I've got this message :

Screen Shot 2015-08-26 at 9.33.14 AM.jpg

I've used bitbucket with sourcetree for almost two years without any problem. This issue happended few days ago.

Any help will greatly appreciated.  
[](https://community.atlassian.com/t5/Sourcetree-questions/Error-429-when-pushing/qaq-p/307860?attachment-id=2586){#link_116a0b6586967b}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9445/1/Screen%20Shot%202015-08-26%20at%209.33.26%20AM.jpg){#display_116a0b6586967b_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Error-429-when-pushing/qaq-p/307860?attachment-id=2587){#link_116a0b6586967b_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9445/2/Screen%20Shot%202015-08-26%20at%209.33.14%20AM.jpg){#display_116a0b6586967b_2}


Answers:
author: Paulo Henrique
body: essa limita??o ? por cada IP ou por reposit?rio ?


author: rrudnicki
body: Hi Rio,

The error 429 means you are reaching some of our limits. Please have a look into this link:

<https://confluence.atlassian.com/display/BITBUCKET/Rate+limits>

Regards,

Renato Rudnicki


Tags: bitbucket-cloud

cloud
Troubleshooting Git "The requested URL returned error: 429"
Asked by logsdonj:

I have repositories that were set up and previously working for quite some time. All of a sudden I'm getting messages that the repo is unreachable and "The requested URL returned error: 429" even though I can visit the url to the repo it says can't be reached. Any thoughts?


Answers:
author: logsdonj
body: A computer restart seems to have taken care of whatever issues I was having.
how to avoid uncommited changes on files in repository (on a shared partition) that is managed by two different sourcetree installations (windows and OSX)?
Asked by maybites:

I am running a windows partition on my MacBook Pro and have my repository on a third partition (formated with exFAT).

I want do develop on the same code (mostly Java and MaxMSP) in my repository when running either windows or OSX and want to use sourceTree to manage the repository. It works, but whenever I make a commit from one side (i.e. OSX-Sourcetree) and switch over to the other (i.e. Windows-Sourcetree), all files inside my repository are marked as uncommited changes even though the individual diff shows no changes at all.

Any clues why this happens and/or do you have suggestions how to solve this issue?


Answers:
author: Tim Crall
body: It could be a line-ending issue - how do you have your line-endings configured on the Windows side?


author: maybites
body: I couldnt find a simple fix so I setup a new repository (losing the previous change history), but before that I made sure both sourcetree instances use its internal git (I think the issue started with a git install on windows with a change of the default EOL settings during the installation process). now it works without a problem.

thank you for pointing me into the right direction.


author: maybites
body: you might be spot on, but so far I was unabe to fix it. I added a .gitattribute to the repository:

\>

# Set the default behavior, in case people don't have core.autocrlf set.

\* text eol=crlf

# Denote all files that are truly binary and should not be modified.

\*.png binary

\*.jpg binary

No newline at end of file

\<

but this didnt help.

any suggestions on how to proceed?

comments: author: Seth
body: The git EOL settings take effect when pushing and pulling, not just when checking your working copy for changes.You should check the EOL settings in your editing tools in both OSes.