From 00e88f2e493cf53af5de748ebee266e4797ee9c4 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Wed, 6 Sep 2017 09:43:48 +0800 Subject: Update vfc-vnfm-gvnfm-driver yaml template Add docker build daily job. Change-Id: Id3aae248bdf4aeb702ca010db13fee8cee72fda4 Issue-ID: CIMAN-48 Signed-off-by: ying.yunlong --- jjb/vfc/build-gvnfm-driver-docker-image.sh | 11 +++++++++++ jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100755 jjb/vfc/build-gvnfm-driver-docker-image.sh (limited to 'jjb/vfc') 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 -- cgit 1.2.3-korg