Change By: Christian Goetze (13/Dec/13 12:44 AM)
Description: It appears that whenever I use a gerrit refspec, I get into trouble when trying to clone a new workspace:
{noformat}
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  XXXXXX  in workspace /build/jenkins/workspace/ test-against-installed-controller YYYYY
16:28:57 Cloning the remote Git repository
16:28:57 Cloning repository ssh://jenkins4@gerrit.
corp.appdynamics.com ZZZZZ :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}
{noformat}

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
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to