diff options
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/dispatch.groovy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 71758ab..b537f7c 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -35,6 +35,10 @@ this.version_pins_file = "version_pins.yml" node(LABEL) { + // Delete any existing job workspace directory contents. + // The directory deleted is the one named after the jenkins pipeline job. + deleteDir() + this.OSname = null def uname = sh(script: "uname", returnStdout: true).trim() if (uname == "Darwin") { @@ -68,10 +72,6 @@ node(LABEL) { sh "env | sort" - // Delete any existing job workspace directory contents. - // The directory deleted is the one named after the jenkins pipeline job. - deleteDir() - // Get the manifest and build control files git branch: BUILD_CONTROL_BRANCH, url: BUILD_CONTROL_REPO // If a tag was specified in the job-suite-generator configuration, |