Update vfc-nfvo-lcm yaml templete 99/9799/1
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 1 Sep 2017 01:57:08 +0000 (09:57 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 1 Sep 2017 01:57:08 +0000 (09:57 +0800)
Add docker build job

Change-Id: Iaf375708a81777c741d2077835740c3836a32efb
Issue-Id: CIMAN-44
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
jjb/vfc/build-nfvo-lcm-docker-image.sh [new file with mode: 0755]
jjb/vfc/vfc-nfvo-lcm-java.yaml

diff --git a/jjb/vfc/build-nfvo-lcm-docker-image.sh b/jjb/vfc/build-nfvo-lcm-docker-image.sh
new file mode 100755 (executable)
index 0000000..d570d18
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./docker/*.*
+
+./docker/build_image.sh
+
index b148c01..ffd1cfe 100644 (file)
     jobs:
       - '{project-name}-{stream}-verify-java'
       - '{project-name}-{stream}-merge-java'
+      - '{project-name}-{stream}-docker-java-version-shell-daily':
+          docker-pom: 'pom.xml'
+          mvn-goals: 'install'
+          script:
+            !include-raw-escape: 'build-nfvo-lcm-docker-image.sh'
     files: '**'
     archive-artifacts: ''
     build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file