Update JJB template for smo-ves
Issue-ID: SMO-30
Signed-off-by: Mahesh Jethanandani <mjethanandani@gmail.com>
Change-Id: I2f6c130f9482ffc2481720b771247bf109f1601b
Signed-off-by: Mahesh Jethanandani <mjethanandani@gmail.com>
diff --git a/jjb/smo-ves/smo-ves.yaml b/jjb/smo-ves/smo-ves.yaml
index d1dd651..5bb5c6a 100644
--- a/jjb/smo-ves/smo-ves.yaml
+++ b/jjb/smo-ves/smo-ves.yaml
@@ -12,3 +12,37 @@
build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
+
+- ves_docker_common: &ves_docker_common
+ # values apply to all docker projects
+ name: ves-docker-common
+ # git repo
+ project: smo/ves
+ # jenkins job name prefix
+ project-name: smo-ves
+ # maven settings file has docker credentials
+ mvn-settings: smo-ves-settings
+
+- project:
+ <<: *ves_docker_common
+ name: smo-ves
+ # image name
+ docker-name: 'smo-collector'
+ # Dockerfile is in a subdir
+ docker-root: collector
+ # source of docker tag
+ container-tag-method: yaml-file
+ jobs:
+ - '{project-name}-gerrit-docker-jobs'
+ stream:
+ - master:
+ branch: master
+
+- project:
+ <<: *ves_docker_common
+ name: smo-ves-release
+ # maven release requires sigul which requires centos
+ # container release requires docker
+ build-node: centos7-docker-2c-8g
+ jobs:
+ - '{project-name}-gerrit-release-jobs'