summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-06 09:43:48 +0800
committeryunlong ying <ying.yunlong@zte.com.cn>2017-09-06 03:08:05 +0000
commit00e88f2e493cf53af5de748ebee266e4797ee9c4 (patch)
treed1a5bb24bf366a9c196b3ecb6e4d31ad3dd90a7a /jjb
parent86588fee38ae414e8611f53babe4309a730fb922 (diff)
Update vfc-vnfm-gvnfm-driver yaml template
Add docker build daily job. Change-Id: Id3aae248bdf4aeb702ca010db13fee8cee72fda4 Issue-ID: CIMAN-48 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/vfc/build-gvnfm-driver-docker-image.sh11
-rw-r--r--jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml6
2 files changed, 15 insertions, 2 deletions
diff --git a/jjb/vfc/build-gvnfm-driver-docker-image.sh b/jjb/vfc/build-gvnfm-driver-docker-image.sh
new file mode 100755
index 000000000..3560e41df
--- /dev/null
+++ b/jjb/vfc/build-gvnfm-driver-docker-image.sh
@@ -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
+
diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml
index 0d57efa2d..5dbd4fe8d 100644
--- a/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml
+++ b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml
@@ -15,9 +15,11 @@
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