Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Thoughtworks GO and Stash integration

Devin Quince July 24, 2013

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
Answer accepted
jhinch (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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.

0 votes
Devin Quince July 30, 2013

This has been answered. Thanks for all the help

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 24, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events