summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-04 17:17:59 +0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-09-05 01:48:37 +0000
commite1d51849c7d5da79d92f8e0f5ba5ae6638e7a352 (patch)
treed9e02f7ff2136994a933f3e1ed2344a14fd188d2 /jjb
parenta38dd0f35cf1ae445ea97cdd0115c532cd7f85ec (diff)
Update vfc vnfmgr jjb template
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>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/vfc/build-gvnfm-vnfmgr-docker-image.sh11
-rw-r--r--jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml5
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-gvnfm-vnfmgr-docker-image.sh b/jjb/vfc/build-gvnfm-vnfmgr-docker-image.sh
new file mode 100644
index 000000000..b16fa2deb
--- /dev/null
+++ b/jjb/vfc/build-gvnfm-vnfmgr-docker-image.sh
@@ -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
+
diff --git a/jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml b/jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml
index 5fec8ccd4..05c01dd85 100644
--- a/jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml
+++ b/jjb/vfc/vfc-gvnfm-vnfmgr-java.yaml
@@ -14,6 +14,11 @@
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