Skip to content
Snippets Groups Projects
Commit f95d6e2f authored by Greg Fodor's avatar Greg Fodor
Browse files

Fully double escape

parent 6450498a
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment