summaryrefslogtreecommitdiffstats
path: root/jjb/vfc
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-04 16:30:35 +0800
committeryunlong ying <ying.yunlong@zte.com.cn>2017-09-05 00:37:22 +0000
commitb3b950097df77db31e2ce5ccffeaa901763c155f (patch)
treea87be5b4e801111ea2829a498290a8af04f24aaf /jjb/vfc
parent41a9eafedb98325720433df411574469b6bb4fcc (diff)
Update vfc vnfres jjb template
Update vnfres jjb template file and add docker build shell file to build gvnfm vnfres docker image. Change-Id: I12cbbe48ec20da01fadb92a80169ed8453f70d23 Issue-ID: VFC-263 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'jjb/vfc')
-rwxr-xr-xjjb/vfc/build-gvnfm-vnfres-docker-image.sh11
-rw-r--r--jjb/vfc/vfc-gvnfm-vnfres-java.yaml5
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-gvnfm-vnfres-docker-image.sh b/jjb/vfc/build-gvnfm-vnfres-docker-image.sh
new file mode 100755
index 000000000..dbfd2caaf
--- /dev/null
+++ b/jjb/vfc/build-gvnfm-vnfres-docker-image.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./res/docker/*.*
+
+./res/docker/build_image.sh
+
diff --git a/jjb/vfc/vfc-gvnfm-vnfres-java.yaml b/jjb/vfc/vfc-gvnfm-vnfres-java.yaml
index da8460d62..02c95959a 100644
--- a/jjb/vfc/vfc-gvnfm-vnfres-java.yaml
+++ b/jjb/vfc/vfc-gvnfm-vnfres-java.yaml
@@ -15,6 +15,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-vnfres-docker-image.sh'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g \ No newline at end of file