Merge "Revert refspec change breaking submodule build"
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 20 Oct 2017 20:44:01 +0000 (20:44 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Fri, 20 Oct 2017 20:44:01 +0000 (20:44 +0000)
.jjb-test/expected-xml/gerrit-rtd-rtd-verify-master
jjb/lf-rtd-jobs.yaml

index 3d8f493..08dccd8 100644 (file)
@@ -81,7 +81,7 @@ For example '&lt;1.0.0' or '&gt;=1.0.0,&lt;2.0.0'.
     <userRemoteConfigs>
       <hudson.plugins.git.UserRemoteConfig>
         <name>origin</name>
-        <refspec>$GERRIT_REFSPEC</refspec>
+        <refspec/>
         <url>$GIT_URL/$PROJECT</url>
         <credentialsId>test-credential</credentialsId>
       </hudson.plugins.git.UserRemoteConfig>
index b7ff603..8f8ba5d 100644 (file)
           branch: '$GERRIT_BRANCH'
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}'
-          refspec: '$GERRIT_REFSPEC'
+          refspec: ''  # Leave blank!! A later script will handle fetching
           submodule-recursive: '{submodule-recursive}'
           choosing-strategy: default