summaryrefslogtreecommitdiffstats
path: root/jjb/vfc
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-05 18:25:46 +0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-09-05 17:10:56 +0000
commit75c66f983bfed92ff2313f79ad3beaa485bae1e4 (patch)
tree065fa17f23d5b636107a4719f6ae9cae714571f3 /jjb/vfc
parent73f736b3c33f151870c5e0ac8459b514c88fcbb3 (diff)
Update vfc-nfvo-driver-ems yaml template
Add docker build daily job Change-Id: I77ca93f1f8f827ff9a3a7ca92b4b4d8f96374aa7 Issue-Id: CIMAN-53 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'jjb/vfc')
-rwxr-xr-xjjb/vfc/build-driver-ems-docker-image.sh11
-rw-r--r--jjb/vfc/vfc-nfvo-driver-ems-java.yaml5
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-driver-ems-docker-image.sh b/jjb/vfc/build-driver-ems-docker-image.sh
new file mode 100755
index 000000000..b81ad521c
--- /dev/null
+++ b/jjb/vfc/build-driver-ems-docker-image.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./ems/docker/*.*
+
+./ems/docker/build_image.sh
+
diff --git a/jjb/vfc/vfc-nfvo-driver-ems-java.yaml b/jjb/vfc/vfc-nfvo-driver-ems-java.yaml
index ef5518732..7da4da9c8 100644
--- a/jjb/vfc/vfc-nfvo-driver-ems-java.yaml
+++ b/jjb/vfc/vfc-nfvo-driver-ems-java.yaml
@@ -16,6 +16,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-ems-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g \ No newline at end of file