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

0 vote
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.

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 has been answered. Thanks for all the help

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,961 views 26 12
Join discussion

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