diff --git a/Jenkinsfile b/Jenkinsfile index 0e65a41..688da14 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -52,9 +52,8 @@ pipeline { steps { echo 'Triggering deploy webhook' script { - def body = '{"secret": "$DEPLOY_SECRET"}' def response = httpRequest contentType: 'APPLICATION_JSON', - httpMode: 'POST', requestBody: body, + httpMode: 'POST', authentication: 'AMARILLO-JENKINS-DEPLOY-SECRET', url: "${DEPLOY_WEBHOOK_URL}" println("Status: ${response.status}")