diff options
author | fengyuanxing <feng.yuanxing@zte.com.cn> | 2017-09-05 13:44:27 +0800 |
---|---|---|
committer | fengyuanxing <feng.yuanxing@zte.com.cn> | 2017-09-05 15:12:01 +0800 |
commit | 2c894656e12ffeb833cce47cb55ca1d836cab6a2 (patch) | |
tree | 5d3a02ad553ce21fa9679688094788c9d00de174 /jjb/vfc | |
parent | e1d51849c7d5da79d92f8e0f5ba5ae6638e7a352 (diff) |
Add a job to build docker image for vfc catalog
Change-Id: Id9a2af0f2ad4308891bd3700482d2fb8bac0597a
Issu-Id: VFC-276
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
Diffstat (limited to 'jjb/vfc')
-rwxr-xr-x | jjb/vfc/build-nfvo-catalog-docker-image.sh | 11 | ||||
-rw-r--r-- | jjb/vfc/vfc-nfvo-catalog.yaml | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/jjb/vfc/build-nfvo-catalog-docker-image.sh b/jjb/vfc/build-nfvo-catalog-docker-image.sh new file mode 100755 index 000000000..d570d18a2 --- /dev/null +++ b/jjb/vfc/build-nfvo-catalog-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-catalog.yaml b/jjb/vfc/vfc-nfvo-catalog.yaml index 2856dd649..208e89ccb 100644 --- a/jjb/vfc/vfc-nfvo-catalog.yaml +++ b/jjb/vfc/vfc-nfvo-catalog.yaml @@ -16,6 +16,11 @@ - '{project-name}-{stream}-{subproject}-verify-python' - '{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-catalog-docker-image.sh' files: '**' archive-artifacts: '' build-node: centos7-redis-4c-4g
\ No newline at end of file |