Update jjb for multicloud/openstack
Build docker image for openstack plugins
Change-Id: I6e8ed025a755b740d242836a6be754a850191561
Issue-Id: CIMAN-31
Signed-off-by: Bin Yang <bin.yang@windriver.com>
diff --git a/jjb/multicloud/build-multicloud-openstack-docker-image.sh b/jjb/multicloud/build-multicloud-openstack-docker-image.sh
new file mode 100644
index 0000000..671f65f
--- /dev/null
+++ b/jjb/multicloud/build-multicloud-openstack-docker-image.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./openstack/newton/docker/*.*
+chmod 755 ./openstack/ocata/docker/*.*
+
+./openstack/newton/docker/build_image.sh
+./openstack/ocata/docker/build_image.sh
diff --git a/jjb/multicloud/multicloud-openstack.yaml b/jjb/multicloud/multicloud-openstack.yaml
index f58ebf7..84404e3 100644
--- a/jjb/multicloud/multicloud-openstack.yaml
+++ b/jjb/multicloud/multicloud-openstack.yaml
@@ -20,6 +20,11 @@
- '{project-name}-{stream}-{subproject}-verify-python'
- '{project-name}-{stream}-{subproject}-verify-java'
- '{project-name}-{stream}-{subproject}-merge-java'
+ - '{project-name}-{stream}-docker-java-version-shell-daily':
+ docker-pom: 'pom.xml'
+ mvn-goals: 'install'
+ script:
+ !include-raw-escape: 'build-multicloud-openstack-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: 'ubuntu1604-memcached-4c-4g'