From: Jessica Wagantall Date: Fri, 30 Sep 2022 20:45:26 +0000 (-0700) Subject: Fix: Update Sonar CLI credential ID X-Git-Tag: v0.81.4^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?p=releng%2Fglobal-jjb.git;a=commitdiff_plain;h=1d572dc0110bdd1d9881fa6b4f2d60d43b6138da Fix: Update Sonar CLI credential ID Sonar CLI job needs to use the credential that matches the name of the project. That is, "sonar-token-{project-name}". Signed-off-by: Jessica Wagantall Change-Id: I4e6bf5dce0b9fcfea352f9e13208698371783de8 --- diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index a0cf6bf1..d9fcdb82 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -288,7 +288,7 @@ wrappers: - credentials-binding: - text: - credential-id: sonar-token-smo-ves + credential-id: sonar-token-{project-name} variable: SONAR_TOKEN builders: - lf-infra-pre-build diff --git a/releasenotes/notes/sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml b/releasenotes/notes/sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml new file mode 100644 index 00000000..8e86d539 --- /dev/null +++ b/releasenotes/notes/sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Sonar CLI job needs to use the credential that matches the name of the + project. That is, "sonar-token-{project-name}".