Fix: Update Sonar CLI credential ID 90/70790/3 v0.81.4
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 30 Sep 2022 20:45:26 +0000 (13:45 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 30 Sep 2022 20:59:22 +0000 (13:59 -0700)
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 <jwagantall@linuxfoundation.org>
Change-Id: I4e6bf5dce0b9fcfea352f9e13208698371783de8

jjb/lf-python-jobs.yaml
releasenotes/notes/sonar-cli-fix-credential-binding-name-30994bb44c81cb18.yaml [new file with mode: 0644]

index a0cf6bf..d9fcdb8 100644 (file)
     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 (file)
index 0000000..8e86d53
--- /dev/null
@@ -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}".