Add templates for ric-plt/vespamgr project jobs 21/721/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 15 Aug 2019 12:14:35 +0000 (08:14 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 15 Aug 2019 12:14:35 +0000 (08:14 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I541b2f6a43fafcbf6ed41c272f9ada20f67c266d

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

diff --git a/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml b/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml
new file mode 100644 (file)
index 0000000..df44cf9
--- /dev/null
@@ -0,0 +1,39 @@
+---
+- project:
+    name: ric-plt-vespamgr-project-view
+    project-name: ric-plt-vespamgr
+    views:
+      - project-view
+
+- project:
+    name: ric-plt-vespamgr-info
+    project: ric-plt/vespamgr
+    project-name: ric-plt-vespamgr
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- vespamgr_docker_common: &vespamgr_docker_common
+    # values apply to all vespamgr docker projects
+    name: vespamgr-docker-common
+    # git repo
+    project: ric-plt/vespamgr
+    # jenkins job name prefix
+    project-name: ric-plt-vespamgr
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-vespamgr-settings
+
+- project:
+    <<: *vespamgr_docker_common
+    name: ric-plt-vespamgr
+    # image name
+    docker-name: '{name}'
+    # source of docker tag
+    container-tag-method: yaml-file
+    # use host network
+    docker-build-args: '--network=host'
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    stream:
+      - master:
+          branch: master