blob: 7e52fbd9ef8e703e7cb4414c5592f23585b5832a [file] [log] [blame]
---
- project:
name: nonrtric-plt-ranpm-project-view
project-name: nonrtric-plt-ranpm
views:
- project-view
- project:
name: nonrtric-plt-ranpm-info
project: nonrtric/plt/ranpm
project-name: nonrtric-plt-ranpm
build-node: centos7-builder-1c-1g
branch: master
jobs:
- gerrit-info-yaml-verify
- _nonrtric-plt-ranpm_common: &nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-common
# git repo
project: nonrtric/plt/ranpm
# jenkins job name prefix
project-name: nonrtric-plt-ranpm
# maven settings file has docker credentials
mvn-settings: nonrtric-plt-ranpm-settings
mvn-version: mvn36
java-version: openjdk17
- project:
<<: *nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-gerrit-release
project-name: nonrtric-plt-ranpm
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- "{project-name}-gerrit-release-jobs"
# Jobs for nonrtric-plt-ranpm-datafilecollector
- project:
<<: *nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-datafilecollector-gerrit-maven-docker
#job name prefix
project-name: nonrtric-plt-ranpm-datafilecollector
mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: "datafilecollector/.*"
jobs:
- gerrit-maven-clm
- gerrit-maven-verify-dependencies
- gerrit-maven-docker-merge
- gerrit-maven-docker-stage
- gerrit-maven-docker-verify
stream:
- master:
branch: master
# Jobs for nonrtric-plt-ranpm-pmproducer
- project:
<<: *nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-pmproducer-gerrit-maven-docker
#job name prefix
project-name: nonrtric-plt-ranpm-pmproducer
mvn-params: "-f pmproducer -Dbuild.number=${{BUILD_NUMBER}}"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: "pmproducer/.*"
jobs:
- gerrit-maven-clm
- gerrit-maven-verify-dependencies
- gerrit-maven-docker-merge
- gerrit-maven-docker-stage
- gerrit-maven-docker-verify
stream:
- master:
branch: master
# Jobs for nonrtric-plt-ranpm-influxlogger
- project:
<<: *nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-influxlogger-gerrit-maven-docker
#job name prefix
project-name: nonrtric-plt-ranpm-influxlogger
mvn-params: "-f influxlogger -Dbuild.number=${{BUILD_NUMBER}}"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: "influxlogger/.*"
jobs:
- gerrit-maven-clm
- gerrit-maven-verify-dependencies
- gerrit-maven-docker-merge
- gerrit-maven-docker-stage
- gerrit-maven-docker-verify
stream:
- master:
branch: master
- project:
<<: *nonrtric_plt_ranpm_jdk_common
name: nonrtric-plt-ranpm-pm-file-converter
project-name: "{name}"
# image name
docker-name: "o-ran-sc/nonrtric-plt-ranpm-pm-file-converter"
# 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: "pm-file-converter"
# Directory where go test should be run
go-root: "pm-file-converter"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: "pm-file-converter/.*"
build-node: ubuntu1804-docker-4c-4g
# Includes verify and merge jobs
jobs:
- "{project-name}-gerrit-docker-jobs"
- gerrit-go-verify
stream:
- master:
branch: master