Add Jenkins verify and merge jobs for E2. 65/265/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 5 Jun 2019 18:51:22 +0000 (14:51 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 5 Jun 2019 18:51:22 +0000 (14:51 -0400)
This builds an image to be pushed to the LF registry.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I88a4442f5f5d334fa5544e05920e51d4e637c5b7

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

diff --git a/jjb/ric-plt-e2/ric-plt-e2.yaml b/jjb/ric-plt-e2/ric-plt-e2.yaml
new file mode 100644 (file)
index 0000000..09f0237
--- /dev/null
@@ -0,0 +1,39 @@
+---
+- project:
+    name: ric-plt-e2-project-view
+    project-name: ric-plt-e2
+    views:
+      - project-view
+
+- e2_docker_common: &e2_docker_common
+    # values apply to all RIC docker-build projects.
+    # factored out in case this needs multiple projects.
+    # use a specific name to prevent reuse attempts
+    # bcos anchors don't cross document boundaries.
+    name: e2-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-e2
+    # git repo
+    project: ric-plt/e2
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-e2-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *e2_docker_common