youngmon/atlassian-qna huggingface dataset:
Parallel Execution Of Cypress Automation Scripts Using Single Runner
Asked by Rajan.PK:

Hi Team - We are trying to achieve Parallel execution of our Cypress UI Automation Scripts using Bit Bucket. Tried to run our scripts in parallel but since we have only single self-hosted runner, only 1 step is getting executed and others are waiting in queue.

So is there any way we can scale up the single runner? so that we would able to execute our automation scripts in parallel (Please note that since it will be difficult for us to register a bunch of duplicate runners looking forward for a solution on scaling up the single runner).

Request your inputs as this would help us to reduce our automation scripts execution time.


Answers:
author: Theodora Boudale
body: Hi Rajan and welcome to the community!

I'm afraid that this is not supported at the moment, a runner can run only one step at a time. It allocates the resources you provided to run your build, so when you have parallel steps it is queued up because the resources are currently used by one of the other steps.

The only way to run steps in parallel with a runner at the moment is by using multiple runners. In case you are using a Linux Shell, Windows, or MacOS runner, please keep in mind that deploying ++multiple runners to a single machine++ may lead to issues related to resource sharing/usage conflicts due to the shared build environment (the steps will not run in a separate Docker container as with Linux Docker runners, since these runners do not use Docker).

We have a feature request for allowing a single runner to run multiple steps:

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

I would suggest adding your vote in the features request (by selecting the **Vote for this issue** link) to express your interest, and 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,  
Theodora


Tags: bitbucket-cloud

cloud
BitBucket - to - Confluence
Asked by Pamela Little:

Looking to pull information from BitBucket OAS, specifically, the attributes and properties, so can present these on confluence page for reference by disparate parties.

Goal: for review of the properties (attributes within an object, description, ENUM values and other properties) so they can be cross-mapped to attributes defined within external data catalog).

Looking to automate the pull from OAS.


Answers:
author: Baskar Annamalai
body: Hi Pamela,

At the moment, Bitbucket and Confluence don't properly integrate. Several alternative apps may be used to display the material from a Bitbucket repository in Confluence. Maybe all that is needed to use the iFrame macro is a link to the Bitbucket file. Otherwise, use third-party add-ons - [https://marketplace.atlassian.com/apps/1212529/include-bitbucket-for-confluence-markdown-asciidoc?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1212529/include-bitbucket-for-confluence-markdown-asciidoc?tab=overview&hosting=cloud)

Best regards,  
Baskar Annamalai  
ServiceRocket.


Tags: bitbucket-server

confluence

server
Our developer isn't receiving his authentication code via Outlook
Asked by Ryan Harmer:

Hi,

We have recently migrated onto a new Microsoft tenant, as such we may have ended up with our domain on your suppression list due to SMPT bounce back.  

Can you ensure all users with \<domain\> (specifically\<email\>) is removed from this list to enable them to login please and receive requested auth codes.

Kind regards,

Ryan


Answers:
author: Theodora Boudale
body: Hi Ryan and welcome to the community!

I cleared from our suppression list all emails from the domain you mentioned, so any affected users should be able to receive Atlassian emails now.

I am not sure what auth codes you are referring to, is it about a 2FA recovery email or a password reset email? Whatever email the user was requesting, they need to request it one more time now, as the previous emails we sent were dropped.

Just a heads up, I removed the domain and email address from your post to comply with our privacy policy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Error on git-svn: fatal: Not a valid object name refs/remotes/origin/feature with spaces
Asked by Fran Vicente:

Hi,

I'm migrating a SVN to Bitbucket following the guide <https://www.atlassian.com/git/tutorials/migrating-convert>

My SVN repo had on an early revision a branch with a space on its name, and that caused mergeinfo to contain a reference to that branch. Giving this error:

```
Checking svn:mergeinfo changes since r7902: 106 sources, 1 changed
fatal: Not a valid object name refs/remotes/origin/feature 11870
cat-file commit refs/remotes/origin/feature 11870: command returned error: 128
```

I've tried using the --ignore-paths="\^Branches/feature\\s.\*" option, but it does not solve the problem, since the mergeinfo is on another branch.

Any suggestions of how to fix it?

Regards,

Fran


Answers:
author: Fran Vicente
body: I have finally decided to use "subgit" and "git-filter-repo", and with those tools I completed a migration without any problem.  

The guide <https://www.atlassian.com/git/tutorials/migrating-convert> is a good overview, but looks outdated, and the tools suggested are not stable.


author: Baskar Annamalai
body: Hi [@Fran Vicente](/t5/user/viewprofilepage/user-id/5165935)

I'm assuming this might be related to the encoding issue and Git having an issue identifying the branch name. Could you run the following command and validate that the name of the branch is still relevant to the object name:

```
git branch -a
```

Best regards,  
Baskar Annamalai   
ServiceRocket.

comments: author: Fran Vicente
body: The branch does exist, but git-svn encodes the space to %20 -\> remotes/origin/feature%2011870

The problem is that it only does that when creates the branch, and not during parent resolution based on mergeinfo.

```
fran@svn2git:~/prs-full.git$ git branch -a
remotes/origin/Active
remotes/origin/Inactive
remotes/origin/LongTerm
remotes/origin/ShortTerm
remotes/origin/ZeroMQ
remotes/origin/feature%2011870
remotes/origin/feature11033
remotes/origin/feature11220
remotes/origin/feature11242
remotes/origin/feature11242@284
remotes/origin/feature11421
...
remotes/origin/trunk
```

I have tried other options like --ignore-refs without success.

With --no-follow-parent it continues and finishes, but the repo size seem to duplicate for every branch pushed.


author: Baskar Annamalai
body: The branch on SVN has a space in it, but the branch in git had this space converted to `%20` (URL encoded). I don't think git would allow a space character in the branch or would read encoded characters directly. It might be worth fixing this from SVN and then reattempting the migration.

Best regards,  
Baskar Annamalai   
ServiceRocket.


Tags: bitbucket-cloud

cloud

git-svn
How can i migrate from my local repository to BitBucket cloud
Asked by gustavoparducci:

I tried to migrate using Sourcetree, but, it didin't worked, then i used the atlassian tutorial, there it should be a button called "Migrate to BitBucket Cloud", but on my sourcetree, there is not.

Someone can help me please?


Answers:
author: minnsey
body: Hi  

That option is only currently available in the mac version of Sourcetree.  

If you simply want to add an existing local repository to Bitbucket.org you can create a new repository in <https://bitbucket.org> and then add it as a remote to your existing repository  

see <https://confluence.atlassian.com/bitbucket/push-versioned-code-to-an-empty-repository-877177145.html>


Tags: bitbucket

bitbucket-cloud

cloud

migration
Problem when cloning a distant repository from Bitbucket
Asked by Loic Modoux:

Hi,

I have cloned a distant repository via sourcetree. Everything seems in order, except two things:

-in my local copy of the folder, .csv files are all empty. Altough I can open them from Sourcetree, this seems weird.

-Altough I have not made any work on the files yet, I have 18 files "waiting" to be commited. How can it be?

Thanks in advance for helping a beginner.

L


Answers:
author: minnsey
body: Hi  

I don't know about the empty CSV files, it would depend on what they look like on the remote and to other users.  

However the 18 files waiting could be due to white space changes, e.g. checking out files with Unix new lines which are being converted to Windows new lines.  

Try this doc from our competitors ;) it gives a good explanation  

<https://help.github.com/articles/dealing-with-line-endings/>
Upgrade Mintty to latest version?
Asked by kxk4xyh:

The terminal application which came with Sourcetree 3.0.17 shows there is a newer version; Mintty 2.9.6 ( I now have 2.8.5).

Is it save for me to upgrade it, or should I wait for a newer version of Sourcetree which might upgrade it?

How is the Mintty terminal version managed anyway?

Thanks!


Answers:
author: minnsey
body: Hi  

Sourcetree doesn't manage that we simply call the Git Bash terminal. So any upgrade will come through Git for Windows updates.

comments: author: kxk4xyh
body: I'm not sure if I understand.

Prior installing SourceTree, I didn't have Git or Mintty. After installing SourceTree I did.

I found the git executable in my windows home directory, under Atlassian\\SourceTree\\git_local. Also the Mintty is installed in git_local.

So for me, both Git and Mintty came included in SourceTree.

I don't see any way to upgrade either one via some Windows installer or anything. The programs are not listed in the Windows 'Programs and Features', but SourceTree is.

I can however choose to Update the Embedded Git version from within SourceTree (via Tools, Options, Git, Git Version). But I don't know if that upgrades Git from 2.18 to 2.20.1 or whatever version.

Could you please explain a little further what you mean?

Also, if I would upgrade manually both Git and Mintty to the latest version, is SourceTree affected in any way?


author: minnsey
body: Sure.  

Mintty is part of the Git for Windows distribution. The Git for Windows version controls what version of Mintty you have, but yes Sourcetree does control what embedded version of Git for Windows you have.  

Sourcetree has the ability to install it's own copy of Git into the *git_local* folder. The verison of Git used for that is hardcoded into the Sourcetree release, so running the *Update Embedded Git* option will update older versions of Git but not past that specificed version.  
For example Sourcetree 3.0.17 specifies Git 2.20.1  

Sourcetree also has the ability to work with an externally installed copy of Git for Windows. So you can download whatever version, within reason, you like from <https://git-scm.org> and install it. In Sourcetree you can then use the *System* option in the Tools/Options/Git tab to configure Sourcetree to use that external copy of Git. If the Git is available on the PATH it will find it automatically, otherwise you can find it yourself.   

Sourcetree should continue to function correctly if you do this.  

This functionality allows users to either keep their Git version uptodate faster than Sourcetree releases or potentially stay on an older version of Git.


author: kxk4xyh
body: Aha! I get it. Thank you very much!
multiple remotes and git-flow
Asked by RachelleJanssuh:

I tried setting up a fancy way of using gitf-low:

have develop, feature and release on our development remote (lets call it origin)

and have hotfix and master on our Azure remote

Obviously, I can't have master from A and B, so I made local branches origin/master and azure/master. But now whenever I want to push something, it takes azure. Not only that, but in my overview for pushing it doesn't automatically pick up which branch to push to on the remote.

When I select the branch that I'm currently on, it will auto fill azure/master on the remote. But that doesn't make sense! because then I will have azure/azureTest/master on my remote....I screwed it up a few times already, so now my azure remote looks like this:

![git-flow-remotes.PNG](/t5/image/serverpage/image-id/44698i8A86A80AAD4BF33E/image-size/large?v=v2&px=999 "git-flow-remotes.PNG")


Answers:
author: minnsey
body: Hi  

Firstly its probably worth saying Sourcetree wasn't designed for that workflow and we've not tested it so I can believe it is making some assumptions that are too simplistic for your approach.  

I'm not sure if any of this will help.  

When you push, if you use the Toolbar push, cannot you not select your preferred remote then?  

As for the naming of the remote branch when you use the push dialog cann you not edit the remote branch name?


Tags: git-flow
Source Tree?bitbucket????????????????????
Asked by kasahara daiki:

???: ssh: Could not resolve hostname bitbucket.org: Name or service not known  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

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

SSH???????????????

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


Answers:
author: K. Yamamoto
body: ??????????????????

????????????????DNS?? bitbucket.org ??????????????????

?????????????????????? bitbucket.org ????????????????????????????????????????????????????????????????????????????????????

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

```
$ dig +short bitbucket.org
18.205.93.1
18.205.93.0
18.205.93.2
```

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


Tags: bitbucket

language-ja
Custom action to view diff on committed file...
Asked by sjcarroll:

Hi all -

Forgive me if this has been answered before. If I select a commit in Sourcetree, it shows a list of files modified in that commit in one pane, and if a file is selected, a diff in another pane. I have Araxis configured as my external diff tool, and what I'd really like is to have a custom action on a file in the selected commit to launch the external diff tool and diff that version of the updated file and the previous version. I know I can invoke 'Log Selected...' on that file, select that version and the previous from the resulting window, and invoke external diff from that context menu. But that's more steps than I'd ideally want.  

Can I create a custom action to do this and if so, how? Thanks in advance!


Answers:
author: sjcarroll
body: UPDATE: Of course a minute after I post the question, I explore the 'Actions' item in the main menu, and there's an 'External Diff' item in there that will do what I want. I guess it wasn't very intuitive to me to use the main menu in this case because there's so many panels and contexts. I feel there should be a built-in context menu item in this panel for 'External Diff', but that's just me.


Tags: custom-field
Got this error 'SSL certificate problem: unable to get local issuer certificate '
Asked by Dennis Polacek:

Got this error 'SSL certificate problem: unable to get local issuer certificate ' when used SourceTree on my Laptop.

git -c diff.mnemonicprefix=false -c core.quotepath=false -no-optional-locks -c credential.helper= -c credential.helper="C:/Users/aagaryov/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE" push -v -tags -set-upstream UAT OCXR-148UAT:OCXR-148UAT fatal: unable to access 'https://aagaryov@bitbucket.org/coresitedevops/sfdc-uat.git/': SSL certificate problem: unable to get local issuer certificate Pushing to https://aagaryov@bitbucket.org/coresitedevops/sfdc-uat.git Completed with errors, see above


Answers:
author: minnsey
body: Hi  

I'm sorry I don't know the exact reason, that error usually occurs with self-signed SSL certs. But since you are access <https://bitbucket.org> that shouldn't be an issue.  

Do you have any problems browsing to <https://bitbucket.org> any indication that the SSL very is not being verified?
Automatically sort bookmarks by name, type, etc.
Asked by Anil Natha:

The list of bookmarked repos is getting longer and longer on my machine. Having to click the gear icon in the bookmarks window and then "Sort by Name" is repetitive and annoying.

My feature request is to allow developers the option to have their bookmarks automatically sorted by name, type, or any other \[future\] sorting option. This way developers can choose the sorting method that works best for them, without forcing them to repeatedly sort the list every time a new bookmark is added.


Answers:
author: bgannin
body: Hi [@Anil Natha](/t5/user/viewprofilepage/user-id/924547),

That's an understandable request and one for us to consider in a future release. Please check for an existing ticket to vote and comment on or create a new one in our public trackers ([Mac](https://jira.atlassian.com/browse/SRCTREE/), [Windows](https://jira.atlassian.com/browse/SRCTREEWIN/)) so others can express their support too.

Brian Ganninger  
Principal Developer, Sourcetree
sourcetree current version
Asked by Murat ?ira:

hi, i have sourcetree, version is 3.1 version but now latest version is 3.0.1. which is right.


Answers:
author: bgannin
body: Hi [@Murat ?ira](/t5/user/viewprofilepage/user-id/2672117),

We use a [staged rollout for releases](https://blog.sourcetreeapp.com/2016/11/16/adding-staged-updates-to-sourcetree/). 3.1 is the latest available release but it's not on the website quite yet. Hopefully that clears things up.

Brian Ganninger  
Principal Developer, Sourcetree
use husky in sourcetree
Asked by SBCJ:

I it possible to use husky with sourcetree?

If yes, how can I install it?

If no, are there any alternatives for checking source code before committing?

I need something that assures that all team members use the same client-side hooks.

Thanks!


Answers:
author: bgannin
body: Hi [@SBCJ](/t5/user/viewprofilepage/user-id/2671714),

Sourcetree does not provide any client-side functionality to standardize on for teams. [Husky](https://www.npmjs.com/package/husky), a custom script which configures a dev environment with hooks and whatnot, and other options are all independent and therefore work with Git itself. You'll need to experiment with your repository to figure out what works best for your workflows.

Brian Ganninger  
Principal Developer, Sourcetree
authentication failed
Asked by esekintela:

Hi

I have been working until today. When I try to push I get this error using the same credential that I have been using until now.

Any idea please?

Regards

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/dev:refs/heads/dev

Pushing to <https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd>

fatal: Authentication failed for '<https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd/>'

Pushing to <https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd>

fatal: Authentication failed for '<https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd/>'

Pushing to <https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd>

fatal: Authentication failed for '<https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd/>'

Pushing to <https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd>

fatal: Authentication failed for '<https://fulcrumprojects.visualstudio.com/DefaultCollection/ParteHorasFrontEnd/_git/ParteHorasFrontEnd/>'

Completed with errors, see above


Answers:
author: minnsey
body: Hi  

Are you using basic authentication, username/password, credentials or OAuth or a Personal Access Token?  

If it is OAuth or PAT is it possible they have expired?


Tags: sourcetree-enterprise
Authentication is a huge mess in sourcetree
Asked by NielsC:

I just spent another hour fixing my repositories that were working fine before the weekend, and no I didn't touch them during the weekend. I had a difficult time setting up my repository a couple of weeks ago because sourcetree is guessing my username and I couldn't find where to update it. Eventually I got it working with my alternate credentials from devops and setting the correct username. I can set the username in multiple places and noone knows which username is used where, which makes it very confusing and difficult to identify the problem. I thought for a while that it was devops causing the issues but I had other repositories that worked fine.

Today this same repository gave me authentication errors. I recloned my repository with the same alternate credentials that I used before but it just didn't work. So I finally setup personal access tokens. Once again Sourcetree started asking for the password once, twice, three times but finally it worked. Hopefully this remains working...


Answers:
author: pangamma
body: Yeah, I have to agree. The authentication issues are starting to piss me off.
git-svn with error
Asked by Armin Inauen:

If I try to commit or update a subversion repository with Sourcetree I get the following error:
>
> ```
> git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn rebase 
>
> String found where operator expected at /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 885, near "fatal "trees ($treeish) $y != $x\n""
>
> (Do you need to predeclare fatal?)
>
> syntax error at /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 885, near "fatal "trees ($treeish) $y != $x\n""
>
> BEGIN not safe after errors--compilation aborted at /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl/Git/SVN.pm line 1670.
>
> Compilation failed in require at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn line 42.
>
> BEGIN failed--compilation aborted at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn line 42.
>
> Completed with errors, see above
> ```

searched the web, but couldn't find a clue.

SourceTree: Version 3.0.1

Mac OS: Mojave Version 10.14.3


Answers:
author: Alexander Thalhammer
body: Same problem when I try "git svn", can't find any solution nowhere.


author: bgannin
body: Hi [@Armin Inauen](/t5/user/viewprofilepage/user-id/2662813),

It looks like you might be using "System Git" in Sourcetree, which is pointing to Xcode's current implementation. Do you encounter the same error if you use "Embedded Git" instead?

Thanks,

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Armin Inauen
body: Hi Brian,

if I use "Embedded Git 2.18.0" I got the same error message.


author: Armin Inauen
body: Hi Brain,

any news about that "fatal" Error?

Best regards

Armin


Tags: mac
how can i create a pull request
Asked by Flutter_project:

Basically my team member added a project on my bitbucket account, and after fork and push the code , after that i want to create a new pull request, but there is some issue.

please provide me help


Answers:
author: minnsey
body: Hi  

In Sourcetree you should be able to use the *Create Pull Request* option from your branch. ONce that opens in Bitbucket you can change the target repository from the fork to the original repository.  

<br />