diff --git a/Jenkinsfile b/Jenkinsfile index 2289bd4..96aea96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,9 +52,9 @@ pipeline { steps { echo 'Triggering deploy webhook' script { - def body = """ - {"secret": "${DEPLOY_SECRET}"} - """ + def body = ' + {"secret": "$DEPLOY_SECRET"} + ' def response = httpRequest contentType: 'APPLICATION_JSON', httpMode: 'POST', requestBody: body, url: "${DEPLOY_WEBHOOK_URL}"