diff --git a/Jenkinsfile b/Jenkinsfile index fa957ab88216442962ce41e533b035493eeabb72..445b8702147022e60ab34c72d11c103523ea1b94 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,10 +33,9 @@ pipeline { script { def baseAssetsPath = "https://assets-dev.reticium.io/" def s3Destination = "s3://assets.reticulum-dev-7f8d39c45878ee2e/hubs" + def habCommand = "sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh ${baseAssetsPath} ${s3Destination}" - sh ''' - /usr/bin/script --return -c \\\\"sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh\\\\" /dev/null - ''' + sh "/usr/bin/script --return -c ${shellString(habCommand)} /dev/null" } } }