# AUTOTOOLS COMMON #
####################
-- lf_autotools_common: &lf_autotools_common
+- _lf_autotools_common: &lf_autotools_common
name: lf-autotools-common
#####################
# AUTOTOOLS PACKAGECLOUD STAGE #
################################
-- lf_autotools_packagecloud_stage: &lf_autotools_packagecloud_stage
+- _lf_autotools_packagecloud_stage: &lf_autotools_packagecloud_stage
name: lf-autotools-packagecloud-stage
######################
# AUTOTOOLS SONARQUBE #
#######################
-- lf_autotools_sonarqube: &lf_autotools_sonarqube
+- _lf_autotools_sonarqube: &lf_autotools_sonarqube
name: lf-autotools-sonarqube
######################
# AUTOTOOLS VERIFY #
####################
-- lf_autotools_verify: &lf_autotools_verify
+- _lf_autotools_verify: &lf_autotools_verify
name: lf-autotools-verify
######################
# CMAKE COMMON #
################
-- lf_cmake_common: &lf_cmake_common
+- _lf_cmake_common: &lf_cmake_common
name: lf-cmake-common
#####################
# CMAKE SONAR #
###############
-- lf_cmake_sonar: &lf_cmake_sonar
+- _lf_cmake_sonar: &lf_cmake_sonar
name: lf-cmake-sonar
######################
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
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
# CMAKE SONARQUBE #
###################
-- lf_cmake_sonarqube: &lf_cmake_sonarqube
+- _lf_cmake_sonarqube: &lf_cmake_sonarqube
name: lf-cmake-sonarqube
######################
# CMAKE STAGE #
###############
-- lf_cmake_stage: &lf_cmake_stage
+- _lf_cmake_stage: &lf_cmake_stage
name: lf-cmake-stage
######################
# CMAKE PACKAGECLOUD STAGE #
############################
-- lf_cmake_pc_stage: &lf_cmake_pc_stage
+- _lf_cmake_pc_stage: &lf_cmake_pc_stage
name: lf-cmake-packagecloud-stage
######################
# CMAKE VERIFY #
################
-- lf_cmake_verify: &lf_cmake_verify
+- _lf_cmake_verify: &lf_cmake_verify
name: lf-cmake-verify
######################