Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git
Created: 13/Dec/13 12:43 AM
Description:

It appears that whenever I use a gerrit refspec, I get into trouble when trying to clone a new workspace:

16:28:57  Started by upstream project "gerrit" build number 141
16:28:57  originally caused by:
16:28:57   Started by user Christian Goetze
16:28:57 [EnvInject] - Loading node environment variables.
16:28:57 Building remotely on centos5-x64-bld-slave-50 in workspace /build/jenkins/workspace/test-against-installed-controller
16:28:57 Cloning the remote Git repository
16:28:57 Cloning repository ssh://[email protected]:29418/codebase.git
16:28:57 git --version
16:28:57 git version 1.8.2.1
16:29:59 FATAL: Command "rev-parse c848ac1d1a98e400b31e4c28425f7e32624e225b^{commit}" returned status code 128:
16:29:59 stdout: c848ac1d1a98e400b31e4c28425f7e32624e225b^{commit}

I think "the pros" use a git init followed by a git fetch to obtain the exact desired refspec. See http://stackoverflow.com/questions/4811434/clone-only-one-branch/14930421#14930421

Project: Jenkins
Priority: Major Major
Reporter: Christian Goetze
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to