| --- |
| - project: |
| name: ric-plt-dbaas-project-view |
| project-name: ric-plt-dbaas |
| views: |
| - project-view |
| |
| - _dbaas_docker_common: |
| &dbaas_docker_common # values apply to all dbaas docker projects |
| name: dbaas-docker-common |
| # git repo |
| project: ric-plt/dbaas |
| # jenkins job name prefix |
| project-name: ric-plt-dbaas |
| # maven settings file has docker credentials |
| mvn-settings: ric-plt-dbaas-settings |
| |
| - project: |
| <<: *dbaas_docker_common |
| name: ric-plt-dbaas |
| # image name |
| docker-name: "o-ran-sc/{name}" |
| # Specify docker file and host network |
| docker-build-args: "--network=host -f docker/Dockerfile.redis" |
| # source of docker tag |
| container-tag-method: yaml-file |
| jobs: |
| - "{project-name}-gerrit-docker-jobs" |
| stream: |
| - master: |
| branch: master |
| |
| - project: |
| <<: *dbaas_docker_common |
| name: ric-plt-dbaas-release |
| # maven release requires sigul which requires centos |
| # container release requires docker |
| build-node: centos7-docker-2c-8g |
| jobs: |
| - "{project-name}-gerrit-release-jobs" |
| # analyze C code and test coverage |
| - project: |
| <<: *dbaas_docker_common |
| name: ric-plt-lib-dbaas-sonarqube |
| pre-build: !include-raw-escape: setup-dbaas-build-deb.sh |
| build-node: ubuntu1804-docker-4c-4g |
| # set appropriate CXXFLAGS |
| configure-opts: --build=i686-pc-linux-gnu |
| # use all cores |
| make-opts: -j4 all |
| sonar-project-file: "" |
| sonar-properties: | |
| sonar.login={sonarcloud_api_token} |
| sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| sonar.projectName={project-name} |
| sonar.organization={sonarcloud_project_organization} |
| sonar.build.sourceEncoding=UTF-8 |
| sonar.sources=src |
| sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output |
| sonar.cfamily.cache.enabled=false |
| sonar.cfamily.gcov.reportsPath=gcov_report |
| sonar.cfamily.threads=4 |
| jobs: |
| - gerrit-autotools-sonarqube |