Thoughtworks GO and Stash integration

We currently are using GIT and GO CI software from Thoughtworks and are looking at using Stash as a front end to GIT to manage our workflow. In our GO server, we are calling the go server in this format

<git url="git://servername/repo" dest="repo" />

The format in stash is http://user@servername:7990/scm/project/repo.git, which go does not seem to be able to use. When I use the git:// format, I get an error that it does not see the repo.

We are not ready to pull the trigger on the entire Atlassian suite just yet, so we will need to be able to use GO for the interim

3 answers

1 accepted

This widget could not be displayed.
Jason Hinch Atlassian Team Jul 24, 2013

Stash does not support the git:// protocol (only HTTP/HTTPs and SSH). There is an open feature request for it at https://jira.atlassian.com/browse/STASH-2508.

However I believe HTTP should work. The HTTP URL you specified doesn't have a password associated with it so it may be unauthorized. You will either need to add the password after the username in the URL (e.g. http://user:pass@server/) or enable public access (unauthenticated) to the repository via the repository permissions settings page (Stash 2.5+) and strip the username out of the URL.

This widget could not be displayed.

Hi Devin,

That doesn't sound right. The git:// URL have above is the git anonymous protocol, which is very uncommon these days, and as such Stash doesn't (yet) support it.

https://jira.atlassian.com/browse/STASH-2508

We recommend using http where possible. What error is Go giving you when you use http? You might try removing the 'user@' part, although your repository will either have to allow anonymous access (released in Stash 2.5) or you will need to provide some credentials to Go somewhere. Do you know if there is documentation on configuring Git in GO somewhere?

Cheers,

Charles

This widget could not be displayed.

This has been answered. Thanks for all the help

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,220 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you