X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fnonrtric-plt-sme%2Fnonrtric-plt-sme.yaml;h=83bd14739b477610ebc642a67c4af1b36298f087;hb=a5f910f6c877000699a40af29124c5b2ee0f54ce;hp=4b29453cc88598c95b98f6d291a881dccd385ff1;hpb=7e8d25d5e2eabb1019476e989c3b74d9b361f9b1;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 4b29453c..83bd1473 100644 --- a/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml +++ b/jjb/nonrtric-plt-sme/nonrtric-plt-sme.yaml @@ -5,35 +5,47 @@ views: - project-view -- project: &sme_common - name: nonrtric-plt-sme-info +- _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 - build-node: centos7-builder-1c-1g - branch: master + # 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-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g jobs: - - gerrit-info-yaml-verify + - "{project-name}-gerrit-release-jobs" - project: - <<: *sme_common - name: nonrtric-plt-capifcore - project-name: '{name}' + <<: *nonrtric_plt_sme_common + name: nonrtric-plt-sme-capifcore + project-name: "{name}" # image name - docker-name: 'o-ran-sc/nonrtric-plt-capifcore' + docker-name: "o-ran-sc/nonrtric-plt-capifcore" # get tag from YAML container-tag-method: yaml-file + container-tag-yaml-dir: capifcore # use host network to clone from our gerrit - docker-build-args: '--network=host' + docker-build-args: "--network=host" # Directory with Dockerfile - docker-root: 'capifcore' + docker-root: "capifcore" # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'capifcore/.*' + pattern: "capifcore/.*" # Directory where go test should be run - go-root: 'capifcore' + go-root: "capifcore" build-node: ubuntu1804-docker-4c-4g # Includes verify and merge jobs jobs: @@ -42,21 +54,26 @@ stream: - master: branch: master + - g-release: + branch: g-release + - h-release: + branch: h-release + - i-release: + branch: i-release - project: - <<: *sme_common - name: nonrtric-plt-capifcore-sonar - project-name: nonrtric-plt-capifcore + <<: *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/.*' + 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 + sonar-properties: !include-raw-escape: sonar-project.properties jobs: - gerrit-sonar-prescan-script