From b51e087be30cd4a787524e742f07225fdcfe75a0 Mon Sep 17 00:00:00 2001 From: Giulia Naponiello Date: Apr 30 2019 11:56:21 +0000 Subject: CI/CD: Correct name of the pagure token It seems that our CI is not able to comment on pagure's PRs. The reason might be that the name of the pagure token doesn't correspond. This might solve it. --- diff --git a/openshift/pipelines/templates/waiverdb-build.Jenkinsfile b/openshift/pipelines/templates/waiverdb-build.Jenkinsfile index 5444a5a..45a0f3e 100644 --- a/openshift/pipelines/templates/waiverdb-build.Jenkinsfile +++ b/openshift/pipelines/templates/waiverdb-build.Jenkinsfile @@ -519,7 +519,7 @@ def withPagure(args=[:], cl) { } def withPagureCreds(args=[:], cl) { def pagureClient = null - withCredentials([string(credentialsId: "${env.PIPELINE_NAMESPACE}-${env.PAGURE_API_KEY_SECRET_NAME}", variable: 'TOKEN')]) { + withCredentials([string(credentialsId: "${env.PAGURE_API_KEY_SECRET_NAME}", variable: 'TOKEN')]) { args.token = env.TOKEN pagureClient = withPagure(args, cl) }