diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-08-31 17:17:00 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-08-31 17:39:47 +0800 |
commit | 50a9c32b2e4693a5462f6cb886c6244850c944c7 (patch) | |
tree | cef9723cff21da38dafbca5468cf53ace3d9c297 /jjb | |
parent | 4e3f6d7e3a6ef35bc1ce30d501dbc86833b68b9e (diff) |
Update vfc-gvnfm-vnflcm yaml templete
Add docker build job
Change-Id: I29412536f604a271c3278d171dad722347c0b097
Issue-Id: CIMAN-43
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/vfc/build-gvnfm-vnflcm-docker-image.sh | 11 | ||||
-rw-r--r-- | jjb/vfc/vfc-gvnfm-vnflcm-java.yaml | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-gvnfm-vnflcm-docker-image.sh b/jjb/vfc/build-gvnfm-vnflcm-docker-image.sh new file mode 100755 index 000000000..d570d18a2 --- /dev/null +++ b/jjb/vfc/build-gvnfm-vnflcm-docker-image.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# +echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES =================' + +CURRENTDIR="$(pwd)" +echo $CURRENTDIR + +chmod 755 ./docker/*.* + +./docker/build_image.sh + diff --git a/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml b/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml index 94a718f7c..e751d4855 100644 --- a/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml +++ b/jjb/vfc/vfc-gvnfm-vnflcm-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: 'lcm/pom.xml' + mvn-goals: 'install' + script: + !include-raw-escape: 'build-gvnfm-vnflcm-docker-image.sh' files: '**' archive-artifacts: '' build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file |