X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fnonrtric-rapp-ransliceassurance%2Fnonrtric-rapp-ransliceassurance.yaml;h=10cb9d1c2a31ffe4cfa96db9b7e9924469e79929;hb=4bfd3d5dbc03f77eb5aed2ab9ca3843bc3732841;hp=fe3bb4d49f155f7a5ef548eba4dbea4cb5c827fa;hpb=e31c7e61d708df0ec43ea87cd2ac3106315beb44;p=ci-management.git diff --git a/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml b/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml index fe3bb4d4..10cb9d1c 100644 --- a/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml +++ b/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml @@ -12,3 +12,90 @@ build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify + +- _ransliceassurance_common: &ransliceassurance_common + name: ransliceassurance-common + # git repo + project: nonrtric/rapp/ransliceassurance + # jenkins job name prefix + project-name: nonrtric-rapp-ransliceassurance + # maven settings file has docker credentials + mvn-settings: nonrtric-rapp-ransliceassurance-settings + +- project: + <<: *ransliceassurance_common + name: nonrtric-rapp-ransliceassurance-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - "{project-name}-gerrit-release-jobs" + +- project: + <<: *ransliceassurance_common + name: nonrtric-rapp-ransliceassurance + project-name: "{name}" + # image name + docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance" + # 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: "smoversion" + # Directory where go test should be run + go-root: "smoversion" + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + - gerrit-go-verify + stream: + - master: + branch: master + - f-release: + branch: f-release + - g-release: + branch: g-release + +- project: + <<: *ransliceassurance_common + name: nonrtric-rapp-ransliceassurance-icsversion + project-name: "{name}" + # image name + docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion" + # 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: "icsversion" + # Directory where go test should be run + go-root: "icsversion" + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + - gerrit-go-verify + stream: + - master: + branch: master + - f-release: + branch: f-release + - g-release: + branch: g-release + +- project: + <<: *ransliceassurance_common + name: nonrtric-rapp-ransliceassurance-sonar + project-name: nonrtric-rapp-ransliceassurance + # prescan script requires ubuntu + # golang is only on docker-enabled nodes + build-node: ubuntu1804-docker-4c-4g + sonar-prescan-script: !include-raw-escape: prescan-ransliceassurance-ubuntu.sh + sonar-project-file: "" + java-version: openjdk11 + # use sonarcloud values from defaults.yaml + sonar-properties: !include-raw-escape: sonar-project.properties + jobs: + - gerrit-sonar-prescan-script