From 510648cd3776e68ebde89136dc4089eb97365f28 Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Wed, 17 Jan 2024 11:34:11 +0100 Subject: [PATCH] #13 fixed deploy secret string interpolation --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 96aea96..0e65a41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,9 +52,7 @@ 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}"