X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fnonrtric-plt-sme%2Fnonrtric-plt-sme.yaml;h=12d9c598b343498524979b7c0910f6450fd46630;hb=b08aee3fa2c729167c2a557d164ab214877254d4;hp=63e389c3f7bfae851b251c6a50d7ea772d56017e;hpb=2a64d216a9ed0855909c277442cfa34c0a797704;p=ci-management.git diff --git a/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml b/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml index 63e389c3..12d9c598 100644 --- a/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml +++ b/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml @@ -9,7 +9,65 @@ name: nonrtric-plt-sme-info project: nonrtric/plt/sme project-name: nonrtric-plt-sme + # maven settings file has docker credentials build-node: centos7-builder-1c-1g branch: master jobs: - - gerrit-info-yaml-verify \ No newline at end of file + - gerrit-info-yaml-verify + +- nonrtric_plt_sme_common: &nonrtric_plt_sme_common + # values apply to all projects here + name: nonrtric-plt-sme-common + # git repo + project: nonrtric/plt/sme + # jenkins job name prefix + project-name: nonrtric-plt-sme + # maven settings file has docker credentials + mvn-settings: nonrtric-plt-sme-settings + # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml + java-version: openjdk11 + mvn-version: mvn36 + +- project: + <<: *nonrtric_plt_sme_common + name: nonrtric-plt-sme-capifcore + project-name: '{name}' + # image name + docker-name: 'o-ran-sc/nonrtric-plt-capifcore' + # get tag from YAML + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory with Dockerfile + docker-root: 'capifcore' + # Limit build trigger to appropriate files + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: 'capifcore/.*' + # Directory where go test should be run + go-root: 'capifcore' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + - gerrit-go-verify + stream: + - master: + branch: master + +- project: + <<: *nonrtric_plt_sme_common + name: nonrtric-plt-sme-capifcore-sonar + # prescan script requires ubuntu + # golang is only on docker-enabled nodes + build-node: ubuntu1804-docker-4c-4g + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: 'capifcore/.*' + sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh + sonar-project-file: "" + java-version: openjdk11 + # use sonarcloud values from defaults.yaml + sonar-properties: !include-raw: sonar-project.properties + jobs: + - gerrit-sonar-prescan-script