#13 added empty request body
All checks were successful
Amarillo/amarillo-gitea/amarillo-core/pipeline/head This commit looks good

This commit is contained in:
Csaba 2024-01-17 12:37:56 +01:00
parent 1ea83fbbb9
commit b5a31c26bc

2
Jenkinsfile vendored
View file

@ -53,7 +53,7 @@ pipeline {
echo 'Triggering deploy webhook' echo 'Triggering deploy webhook'
script { script {
def response = httpRequest contentType: 'APPLICATION_JSON', def response = httpRequest contentType: 'APPLICATION_JSON',
httpMode: 'POST', authentication: 'AMARILLO-JENKINS-DEPLOY-SECRET', httpMode: 'POST', requestBody: '{}', authentication: 'AMARILLO-JENKINS-DEPLOY-SECRET',
url: "${DEPLOY_WEBHOOK_URL}" url: "${DEPLOY_WEBHOOK_URL}"
println("Status: ${response.status}") println("Status: ${response.status}")