Update vfc vnfres jjb template 73/10173/5
authorying.yunlong <ying.yunlong@zte.com.cn>
Mon, 4 Sep 2017 08:30:35 +0000 (16:30 +0800)
committeryunlong ying <ying.yunlong@zte.com.cn>
Tue, 5 Sep 2017 00:37:22 +0000 (00:37 +0000)
Update vnfres jjb template file and add docker build shell file
to build gvnfm vnfres docker image.

Change-Id: I12cbbe48ec20da01fadb92a80169ed8453f70d23
Issue-ID: VFC-263
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
jjb/vfc/build-gvnfm-vnfres-docker-image.sh [new file with mode: 0755]
jjb/vfc/vfc-gvnfm-vnfres-java.yaml

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