Update vfc vnfmgr jjb template 87/10187/4
authorying.yunlong <ying.yunlong@zte.com.cn>
Mon, 4 Sep 2017 09:17:59 +0000 (17:17 +0800)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 5 Sep 2017 01:48:37 +0000 (01:48 +0000)
Update vnfmgr jjb template file and add vfc vnfmgr docker build
shell file to build gvnfm vnfres docker image.

Change-Id: Ib01ef5a17977465e40deb1e3029abc857244f7f6
Issue-ID: CIMAN-47
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
jjb/vfc/build-gvnfm-vnfmgr-docker-image.sh [new file with mode: 0644]
jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml

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