diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-19 13:17:00 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-22 01:02:29 +0000 |
commit | d01c1deb155498ba8e1728648e2284f8afd7f0c8 (patch) | |
tree | aa454578801269d7a26dea5c8ad59a017cb5558c /jjb | |
parent | ed7a2aa132f0e5fe046bfead41757455013397d5 (diff) |
Jenkis job for apigateway and discovery dockers
Issue-Id: MSB-18, MSB-19
Change-Id: I5c285685dbe76ca63df364e2c5461fc0189e18bd
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/msb/build-apigateway-docker-image.sh (renamed from jjb/msb/build-docker-image.sh) | 0 | ||||
-rw-r--r-- | jjb/msb/build-discovery-docker-image.sh | 11 | ||||
-rw-r--r-- | jjb/msb/msb-apigateway.yaml | 2 | ||||
-rw-r--r-- | jjb/msb/msb-discovery.yaml | 6 |
4 files changed, 17 insertions, 2 deletions
diff --git a/jjb/msb/build-docker-image.sh b/jjb/msb/build-apigateway-docker-image.sh index 6ca48a2c7..6ca48a2c7 100644 --- a/jjb/msb/build-docker-image.sh +++ b/jjb/msb/build-apigateway-docker-image.sh diff --git a/jjb/msb/build-discovery-docker-image.sh b/jjb/msb/build-discovery-docker-image.sh new file mode 100644 index 000000000..ae7f5a275 --- /dev/null +++ b/jjb/msb/build-discovery-docker-image.sh @@ -0,0 +1,11 @@ +#!/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 54f178562..69042cb5f 100644 --- a/jjb/msb/msb-apigateway.yaml +++ b/jjb/msb/msb-apigateway.yaml @@ -14,7 +14,7 @@ docker-pom: 'pom.xml' mvn-goals: 'install' script: - !include-raw-escape: 'build-docker-image.sh' + !include-raw-escape: 'build-apigateway-docker-image.sh' project: 'msb/apigateway' stream: diff --git a/jjb/msb/msb-discovery.yaml b/jjb/msb/msb-discovery.yaml index f35572caa..bb20c4b03 100644 --- a/jjb/msb/msb-discovery.yaml +++ b/jjb/msb/msb-discovery.yaml @@ -10,7 +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-discovery-docker-image.sh' project: 'msb/discovery' stream: - 'master': |