Update vfc-vnfm-gvnfm-driver yaml template 45/10445/3
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 6 Sep 2017 01:43:48 +0000 (09:43 +0800)
committeryunlong ying <ying.yunlong@zte.com.cn>
Wed, 6 Sep 2017 03:08:05 +0000 (03:08 +0000)
Add docker build daily job.

Change-Id: Id3aae248bdf4aeb702ca010db13fee8cee72fda4
Issue-ID: CIMAN-48
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
jjb/vfc/build-gvnfm-driver-docker-image.sh [new file with mode: 0755]
jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml

diff --git a/jjb/vfc/build-gvnfm-driver-docker-image.sh b/jjb/vfc/build-gvnfm-driver-docker-image.sh
new file mode 100755 (executable)
index 0000000..3560e41
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./gvnfmadapter/docker/*.*
+
+./gvnfmadapter/docker/build_image.sh
+
index 0d57efa..5dbd4fe 100644 (file)
     jobs:
       - '{project-name}-{stream}-{subproject}-verify-java'
       - '{project-name}-{stream}-{subproject}-merge-java'
-      - '{project-name}-{stream}-docker-version-java-daily':
+      - '{project-name}-{stream}-docker-java-version-shell-daily':
           docker-pom: 'pom.xml'
-          mvn-profile: 'docker'
+          mvn-goals: 'install'
+          script:
+            !include-raw-escape: 'build-gvnfm-driver-docker-image.sh'
     files: '**'
     archive-artifacts: ''
     build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file