Add Jenkins verify job for RMR library
[ci-management.git] / jjb / ric-plt-lib-rmr / ric-plt-lib-rmr.yaml
1 ---
2 - project:
3     name: ric-plt-lib-rmr-project-view
4     project-name: ric-plt-lib-rmr
5     views:
6       - project-view
7
8 - rmr_docker_common: &rmr_docker_common
9     # values apply to all RIC docker-build projects.
10     # factored out in case rmr needs multiple projects.
11     # use a specific name to prevent reuse attempts
12     # bcos anchors don't cross document boundaries.
13     name: rmr-docker-common
14     build-node: ubuntu1804-docker-4c-4g
15     # pull from the public mirror + releases registry
16     container-public-registry: nexus3.o-ran-sc.org:10001
17     # push to the staging repo bcos all builds are RCs
18     container-push-registry:  nexus3.o-ran-sc.org:10004
19     # use host network to clone from our gerrit
20     docker-build-args: '--network=host'
21     # source of docker tag
22     docker-use-params-from: yaml-file-params
23     stream:
24       - master:
25           branch: master
26
27 - project:
28     name: ric-plt-lib-rmr
29     # git repo
30     project: ric-plt/lib/rmr
31     # jenkins job name prefix
32     project-name: '{name}'
33     # image name
34     docker-name: '{name}'
35     # maven settings file has docker credentials
36     mvn-settings: ric-plt-lib-rmr-settings
37     jobs:
38       # verify only; no merge bcos no image is pushed
39       - gerrit-docker-verify
40     <<: *rmr_docker_common