summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-05 15:49:29 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-05 19:17:37 +0800
commitc12ab743cc82514b3d8086721f9c70364fc629fc (patch)
tree012a6d51afb22ac6d160e03eb04a98e6ce1afc85 /jjb
parentb67db4325c9d122c9c11fc9820a1a5668120f1c8 (diff)
Add docker daily job for oom/registrator
Issue-Id: OOM-61 Change-Id: I6913eb6885548c1464352c16fb49e01a1ccff571 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/oom/build-registrator-docker-image.sh10
-rw-r--r--jjb/oom/oom-registrator.yaml5
2 files changed, 15 insertions, 0 deletions
diff --git a/jjb/oom/build-registrator-docker-image.sh b/jjb/oom/build-registrator-docker-image.sh
new file mode 100644
index 000000000..9821bfca2
--- /dev/null
+++ b/jjb/oom/build-registrator-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/oom/oom-registrator.yaml b/jjb/oom/oom-registrator.yaml
index 1658b87a3..a0e9bc0fc 100644
--- a/jjb/oom/oom-registrator.yaml
+++ b/jjb/oom/oom-registrator.yaml
@@ -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':