diff --git a/.cico.pipeline b/.cico.pipeline index 6f5f3e6..00a0a69 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -5,7 +5,7 @@ def notifyPagurePR(repo, msg, status, credentials = 'pagure-auth'){ println json withCredentials([string(credentialsId: credentials, variable: "PAGURE_PUSH_SECRET")]) { - sh "curl -X POST -d \'$json\' https://pagure.io/api/0/ci/jenkins/$repo/${PAGURE_PUSH_SECRET}/build-finished" + sh "curl -X POST -d \'$json\' https://pagure.io/api/0/ci/jenkins/$repo/${PAGURE_PUSH_SECRET}/build-finished -H \"Content-Type: application/json\"" } }