Add Jenkins verify job for RMR library 48/248/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 4 Jun 2019 14:38:14 +0000 (10:38 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 4 Jun 2019 14:38:14 +0000 (10:38 -0400)
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) <cl778h@att.com>
Change-Id: I4c5deca44cff8667b26d09651daa5fd963d6c5c4

jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml [new file with mode: 0644]

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 (file)
index 0000000..ae2cf0f
--- /dev/null
@@ -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