views:
- project-view
-- project:
+- project: &sme_common
name: nonrtric-plt-sme-info
project: nonrtric/plt/sme
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
jobs:
- - gerrit-info-yaml-verify
\ No newline at end of file
+ - gerrit-info-yaml-verify
+
+- project:
+ <<: *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:
+ <<: *sme_common
+ name: nonrtric-plt-sme-capifcore-sonar
+ project-name: nonrtric-plt-sme-capifcore
+ build-node: ubuntu1804-docker-4c-4g
+ java-version: openjdk11
+ sonarcloud: true
+ sonar-project-file: ""
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonarcloud-project-name: '{project-name}'
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ jobs:
+ - gerrit-cli-sonar