diff --git a/Jenkinsfile_Common b/Jenkinsfile_Common index 3c2e680..3fd5be7 100644 --- a/Jenkinsfile_Common +++ b/Jenkinsfile_Common @@ -58,8 +58,7 @@ def handleSubmodules(versionParam) { def updateSourceRevisions() { println "update source revisions to head..." - sh "bash -c '. ./env.image-ostree > /dev/null && cd ../'" - sh(returnStdout: true, script: "./src-rev.sh -v -d -r -l ./srcrev.log") + sh(returnStdout: true, script: "bash -c '. ./env.image-ostree > /dev/null && cd ../ && ./src-rev.sh -v -d -r -l ./srcrev.log'") }