From 1d572dc0110bdd1d9881fa6b4f2d60d43b6138da Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Fri, 30 Sep 2022 13:45:26 -0700 Subject: [PATCH] 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 --- jjb/lf-python-jobs.yaml | 2 +- .../sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml 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}". -- 2.16.6