From f14966fb2dc27dfc3906d7f4a49dc17ef25bd087 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Tue, 4 Jun 2019 10:38:14 -0400 Subject: [PATCH] Add Jenkins verify job for RMR library Only performs a verify build. No merge job is defined because no image needs to be pushed to the LF registry. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I4c5deca44cff8667b26d09651daa5fd963d6c5c4 --- jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml diff --git a/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml new file mode 100644 index 00000000..ae2cf0f0 --- /dev/null +++ b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml @@ -0,0 +1,40 @@ +--- +- project: + name: ric-plt-lib-rmr-project-view + project-name: ric-plt-lib-rmr + views: + - project-view + +- rmr_docker_common: &rmr_docker_common + # values apply to all RIC docker-build projects. + # factored out in case rmr needs multiple projects. + # use a specific name to prevent reuse attempts + # bcos anchors don't cross document boundaries. + name: rmr-docker-common + build-node: ubuntu1804-docker-4c-4g + # pull from the public mirror + releases registry + container-public-registry: nexus3.o-ran-sc.org:10001 + # push to the staging repo bcos all builds are RCs + container-push-registry: nexus3.o-ran-sc.org:10004 + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # source of docker tag + docker-use-params-from: yaml-file-params + stream: + - master: + branch: master + +- project: + name: ric-plt-lib-rmr + # git repo + project: ric-plt/lib/rmr + # jenkins job name prefix + project-name: '{name}' + # image name + docker-name: '{name}' + # maven settings file has docker credentials + mvn-settings: ric-plt-lib-rmr-settings + jobs: + # verify only; no merge bcos no image is pushed + - gerrit-docker-verify + <<: *rmr_docker_common -- 2.16.6