diff options
author | 2017-08-11 15:11:17 +0800 | |
---|---|---|
committer | 2017-08-11 15:15:06 +0800 | |
commit | fa995485626246e6644cf299c985328720f7bdbd (patch) | |
tree | 7c7363e37407789a27db4383cd70a6fad0120195 /jjb | |
parent | 627ef8e2e5f6adb95bb86e30f65db4ce7cdfe746 (diff) |
Jenkins job to build MSB API Gateway docker
Change-Id: I0613dfd5a17b2130edb6712fea17381dcd5adffc
Issue-Id: MSB-18
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/msb/build-docker-image.sh | 10 | ||||
-rw-r--r-- | jjb/msb/msb-apigateway.yaml | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/jjb/msb/build-docker-image.sh b/jjb/msb/build-docker-image.sh new file mode 100644 index 000000000..9821bfca2 --- /dev/null +++ b/jjb/msb/build-docker-image.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# +echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES =================' + +CURRENTDIR="$(pwd)" +echo $CURRENTDIR + +chmod 755 *.* + +./build4docker.sh diff --git a/jjb/msb/msb-apigateway.yaml b/jjb/msb/msb-apigateway.yaml index 3fc8bb6bc..54f178562 100644 --- a/jjb/msb/msb-apigateway.yaml +++ b/jjb/msb/msb-apigateway.yaml @@ -10,6 +10,11 @@ - '{project-name}-{stream}-stage-site-java': site-pom: 'pom.xml' trigger-job: '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-docker-java-version-shell-daily': + docker-pom: 'pom.xml' + mvn-goals: 'install' + script: + !include-raw-escape: 'build-docker-image.sh' project: 'msb/apigateway' stream: |