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: sonar-project.properties
+ jobs:
+ - gerrit-sonar-prescan-script