Update vfc-nfvo-driver-svnfm-zte yaml template 01/10201/2
authorfujinhua <fu.jinhua@zte.com.cn>
Mon, 4 Sep 2017 10:14:44 +0000 (18:14 +0800)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Mon, 4 Sep 2017 21:12:14 +0000 (21:12 +0000)
Add docker build daily job

Change-Id: I87ab0e2239080d7f4258af5e2b8ab220a256d533
Issue-Id: CIMAN-49
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
jjb/vfc/build-driver-svnfm-zte-docker-image.sh [new file with mode: 0755]
jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml

diff --git a/jjb/vfc/build-driver-svnfm-zte-docker-image.sh b/jjb/vfc/build-driver-svnfm-zte-docker-image.sh
new file mode 100755 (executable)
index 0000000..fbc6756
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./zte/vmanager/docker/*.*
+
+./zte/vmanager/docker/build_image.sh
+
index 23a6117..c295f25 100644 (file)
     jobs:
       - '{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-driver-svnfm-zte-docker-image.sh'
     files: '**'
     archive-artifacts: ''
     build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file