Add docker daily job for oom/registrator 09/10309/3
authorHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 5 Sep 2017 07:49:29 +0000 (15:49 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 5 Sep 2017 11:17:37 +0000 (19:17 +0800)
Issue-Id: OOM-61
Change-Id: I6913eb6885548c1464352c16fb49e01a1ccff571
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
jjb/oom/build-registrator-docker-image.sh [new file with mode: 0644]
jjb/oom/oom-registrator.yaml

diff --git a/jjb/oom/build-registrator-docker-image.sh b/jjb/oom/build-registrator-docker-image.sh
new file mode 100644 (file)
index 0000000..9821bfc
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 *.*
+
+./build4docker.sh
index 1658b87..a0e9bc0 100644 (file)
@@ -7,6 +7,11 @@
       - '{project-name}-{stream}-verify-java'
       - '{project-name}-{stream}-merge-java'
       - '{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-registrator-docker-image.sh'
     project: 'oom/registrator'
     stream:
       - 'master':