From 8f6c04d9e47ac9a4a1c023b62e0933b88fd8d839 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 13 2018 14:27:42 +0000 Subject: Fix the comment formatting Signed-off-by: Pierre-Yves Chibon --- 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\"" } }