From 65fb20ae14bf79d1b8b62905fef6f39a6dba9f53 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Thu, 2 Aug 2018 16:53:29 +0000 Subject: [PATCH] Add quotes to shellout --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index aea7cbe1b..bbd818613 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { def reticulumServer = env.RETICULUM_SERVER def slackURL = env.SLACK_URL - def habCommand = "sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh ${baseAssetsPath} ${assetBundleServer} ${janusServer} ${reticulumServer} ${targetS3Url} ${env.BUILD_NUMBER} ${env.GIT_COMMIT}" + def habCommand = "sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh \"${baseAssetsPath}\" \"${assetBundleServer}\" \"${janusServer}\" \"${reticulumServer}\" \"${targetS3Url}\" \"${env.BUILD_NUMBER}\" \"${env.GIT_COMMIT}\"" sh "/usr/bin/script --return -c ${shellString(habCommand)} /dev/null" def gitMessage = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'[%an] %s'").trim() -- GitLab