Revert "Correctly checking out patches when needed in the VOLTHA tests"
it's braking the gitPull
This reverts commit 01d596c4a0a1c1df3d5ba88bb77864f16133a90b.
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ic72a9e9e5d74a0eb7d560a7c488d42c3dccba509
diff --git a/jjb/pipeline/voltha-dt-physical-functional-tests.groovy b/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
index 2eb282e..0b73874 100644
--- a/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
+++ b/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
@@ -40,6 +40,7 @@
$class: 'GitSCM',
userRemoteConfigs: [[
url: "https://gerrit.opencord.org/kind-voltha",
+ refspec: "${kindVolthaChange}"
]],
branches: [[ name: "master", ]],
extensions: [
@@ -48,10 +49,6 @@
[$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],
],
])
- sh """
- cd $WORKSPACE/kind-voltha
- git fetch https://gerrit.opencord.org/kind-voltha ${gerritRefspec} && git checkout FETCH_HEAD
- """
}
}
stage('Clone voltha-system-tests') {
@@ -60,6 +57,7 @@
$class: 'GitSCM',
userRemoteConfigs: [[
url: "https://gerrit.opencord.org/voltha-system-tests",
+ refspec: "${volthaSystemTestsChange}"
]],
branches: [[ name: "${branch}", ]],
extensions: [
@@ -68,10 +66,6 @@
[$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],
],
])
- sh """
- cd $WORKSPACE/voltha-system-tests
- git fetch https://gerrit.opencord.org/voltha-system-tests ${volthaSystemTestsChange} && git checkout FETCH_HEAD
- """
}
}
stage('Clone cord-tester') {
@@ -80,6 +74,7 @@
$class: 'GitSCM',
userRemoteConfigs: [[
url: "https://gerrit.opencord.org/cord-tester",
+ refspec: "${cordTesterChange}"
]],
branches: [[ name: "master", ]],
extensions: [
@@ -88,10 +83,6 @@
[$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],
],
])
- sh """
- cd $WORKSPACE/cord-tester
- git fetch https://gerrit.opencord.org/voltha-system-tests ${cordTesterChange} && git checkout FETCH_HEAD
- """
}
}
// This checkout allows us to show changes in Jenkins