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 votes
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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

643 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot