summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-05 18:21:16 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-05 18:21:16 +0800
commit1398c5b4c9e277858e3242c77284777714b07293 (patch)
tree11d1a180d6fceb2230fb0d73941fd9d0cdee67a9 /jjb
parente1d51849c7d5da79d92f8e0f5ba5ae6638e7a352 (diff)
Update vfc-nfvo-driver-sfc yaml template
Add docker build daily job Change-Id: Ic018a3ab70af8f1f542e9159cfb32326758c6ba5 Issue-Id: CIMAN-52 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/vfc/build-driver-zte-sfc-docker-image.sh11
-rw-r--r--jjb/vfc/vfc-nfvo-driver-sfc.yaml5
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-driver-zte-sfc-docker-image.sh b/jjb/vfc/build-driver-zte-sfc-docker-image.sh
new file mode 100755
index 000000000..ef5ef985b
--- /dev/null
+++ b/jjb/vfc/build-driver-zte-sfc-docker-image.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./zte/sfc-driver/docker/*.*
+
+./zte/sfc-driver/docker/build_image.sh
+
diff --git a/jjb/vfc/vfc-nfvo-driver-sfc.yaml b/jjb/vfc/vfc-nfvo-driver-sfc.yaml
index 47634ac7c..9fef201ac 100644
--- a/jjb/vfc/vfc-nfvo-driver-sfc.yaml
+++ b/jjb/vfc/vfc-nfvo-driver-sfc.yaml
@@ -15,6 +15,11 @@
- '{project-name}-{stream}-{subproject}-verify-java'
- '{project-name}-{stream}-{subproject}-merge-java'
- '{project-name}-{stream}-{subproject}-release-java-daily'
+ - '{project-name}-{stream}-docker-java-version-shell-daily':
+ docker-pom: 'pom.xml'
+ mvn-goals: 'install'
+ script:
+ !include-raw-escape: 'build-driver-zte-sfc-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g