#3161 add a content-type header
Merged 6 years ago by pingou. Opened 6 years ago by bstinson.
bstinson/pagure ci-add-pr-posting  into  master

file modified
+1 -1
@@ -5,7 +5,7 @@ 

      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\""

      }

  }

  

no initial comment

Commit c767e91 fixes this pull-request

Pull-Request has been merged by pingou

6 years ago
Metadata