diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-08-11 17:11:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-11 17:11:11 +0000 |
commit | 31afc5c3db509379b00c046c490e1b7022c7d7ce (patch) | |
tree | e3cd39c2c539c87bae0cf15d615bb67621388ea2 | |
parent | 4da11a6c08c3eee4554cf4eb56a4b8ec1557b4c1 (diff) | |
parent | fa995485626246e6644cf299c985328720f7bdbd (diff) |
Merge "Jenkins job to build MSB API Gateway docker"
-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: |