diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-01 09:57:08 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-01 09:57:08 +0800 |
commit | 177db1b995ad91cce045d9415fcb59f4390f88c6 (patch) | |
tree | 7dd25f7178264f858c2d6b49776513a5f6a6a0a4 | |
parent | 45605edfd35900f74dbe1036d6a1a4ceab18f09e (diff) |
Update vfc-nfvo-lcm yaml templete
Add docker build job
Change-Id: Iaf375708a81777c741d2077835740c3836a32efb
Issue-Id: CIMAN-44
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-x | jjb/vfc/build-nfvo-lcm-docker-image.sh | 11 | ||||
-rw-r--r-- | jjb/vfc/vfc-nfvo-lcm-java.yaml | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-nfvo-lcm-docker-image.sh b/jjb/vfc/build-nfvo-lcm-docker-image.sh new file mode 100755 index 000000000..d570d18a2 --- /dev/null +++ b/jjb/vfc/build-nfvo-lcm-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-nfvo-lcm-java.yaml b/jjb/vfc/vfc-nfvo-lcm-java.yaml index b148c01a2..ffd1cfe80 100644 --- a/jjb/vfc/vfc-nfvo-lcm-java.yaml +++ b/jjb/vfc/vfc-nfvo-lcm-java.yaml @@ -11,6 +11,11 @@ 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 |