X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-c-cpp-jobs.yaml;h=14bb46e971d43b343c2f55ac38959a88bac06f1d;hb=77b37fe255b0610d89478ab14cef0a9a6518a870;hp=d1ba86f0c92f60ce2e0251e73a2e12ee8fdd73b2;hpb=455c02c6e706a43fc57e816e69fe347dccae8648;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-c-cpp-jobs.yaml b/jjb/lf-c-cpp-jobs.yaml index d1ba86f0..14bb46e9 100644 --- a/jjb/lf-c-cpp-jobs.yaml +++ b/jjb/lf-c-cpp-jobs.yaml @@ -3,7 +3,7 @@ # AUTOTOOLS COMMON # #################### -- lf_autotools_common: &lf_autotools_common +- _lf_autotools_common: &lf_autotools_common name: lf-autotools-common ##################### @@ -40,7 +40,7 @@ # AUTOTOOLS PACKAGECLOUD STAGE # ################################ -- lf_autotools_packagecloud_stage: &lf_autotools_packagecloud_stage +- _lf_autotools_packagecloud_stage: &lf_autotools_packagecloud_stage name: lf-autotools-packagecloud-stage ###################### @@ -182,7 +182,7 @@ # AUTOTOOLS SONARQUBE # ####################### -- lf_autotools_sonarqube: &lf_autotools_sonarqube +- _lf_autotools_sonarqube: &lf_autotools_sonarqube name: lf-autotools-sonarqube ###################### @@ -304,7 +304,7 @@ # AUTOTOOLS VERIFY # #################### -- lf_autotools_verify: &lf_autotools_verify +- _lf_autotools_verify: &lf_autotools_verify name: lf-autotools-verify ###################### @@ -432,7 +432,7 @@ # CMAKE COMMON # ################ -- lf_cmake_common: &lf_cmake_common +- _lf_cmake_common: &lf_cmake_common name: lf-cmake-common ##################### @@ -470,7 +470,7 @@ # CMAKE SONAR # ############### -- lf_cmake_sonar: &lf_cmake_sonar +- _lf_cmake_sonar: &lf_cmake_sonar name: lf-cmake-sonar ###################### @@ -490,7 +490,7 @@ make-opts: "" pre-build: "" sonar-scanner-version: 3.3.0.1492 - sonarcloud-api-token: "" + sonarcloud-api-token-cred-id: sonarcloud-api-token sonarcloud-organization: "" sonarcloud-project-key: "" stream: master @@ -508,10 +508,15 @@ SONAR_SCANNER_VERSION={sonar-scanner-version} PROJECT_KEY={sonarcloud-project-key} PROJECT_ORGANIZATION={sonarcloud-organization} - API_TOKEN={sonarcloud-api-token} - shell: !include-raw-escape: ../shell/cmake-sonar.sh - lf-provide-maven-settings-cleanup + wrappers: + - credentials-binding: + - text: + credential-id: "{sonarcloud-api-token-cred-id}" + variable: API_TOKEN + - job-template: name: "{project-name}-cmake-sonar" id: gerrit-cmake-sonar @@ -575,7 +580,7 @@ # CMAKE SONARQUBE # ################### -- lf_cmake_sonarqube: &lf_cmake_sonarqube +- _lf_cmake_sonarqube: &lf_cmake_sonarqube name: lf-cmake-sonarqube ###################### @@ -705,7 +710,7 @@ # CMAKE STAGE # ############### -- lf_cmake_stage: &lf_cmake_stage +- _lf_cmake_stage: &lf_cmake_stage name: lf-cmake-stage ###################### @@ -862,7 +867,7 @@ # CMAKE PACKAGECLOUD STAGE # ############################ -- lf_cmake_pc_stage: &lf_cmake_pc_stage +- _lf_cmake_pc_stage: &lf_cmake_pc_stage name: lf-cmake-packagecloud-stage ###################### @@ -1004,7 +1009,7 @@ # CMAKE VERIFY # ################ -- lf_cmake_verify: &lf_cmake_verify +- _lf_cmake_verify: &lf_cmake_verify name: lf-cmake-verify ######################