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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.