diff --git a/.cico.pipeline b/.cico.pipeline index 1df1a3e..c50cc99 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -5,10 +5,10 @@ def notifyPagurePR(repo, msg, status, credentials = 'pagure-auth'){ println json withCredentials([string(credentialsId: credentials, variable: "PAGURE_PUSH_SECRET")]) { - # We need to notify pagure that jenkins finished but then pagure will - # wait for jenkins to be done, so if we wait for pagure's answer we're - # basically stuck in a loop where both jenkins and pagure are waiting - # for each other + /* We need to notify pagure that jenkins finished but then pagure will + wait for jenkins to be done, so if we wait for pagure's answer we're + basically stuck in a loop where both jenkins and pagure are waiting + for each other */ sh "timeout 1 curl -X POST -d \'$json\' https://pagure.io/api/0/ci/jenkins/$repo/${PAGURE_PUSH_SECRET}/build-finished -H \"Content-Type: application/json\"" } }