From 4397309f9789034b4a66892c5ba28b95641c9d89 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Apr 12 2018 22:05:58 +0000 Subject: add a content-type header --- 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\"" } }