Adding nightly docker build support
This will build a docker image nightly
Ultimately it is calling the following file
in aaf/sms.git
sms-service/bin/build_image.sh
Issue-ID: AAF-186
Change-Id: I12e88eb8ac796df55ac2b2abfa0f2aa886f12f01
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/jjb/aaf/aaf-sms.yaml b/jjb/aaf/aaf-sms.yaml
index d097834..0e0c5e6 100644
--- a/jjb/aaf/aaf-sms.yaml
+++ b/jjb/aaf/aaf-sms.yaml
@@ -7,6 +7,9 @@
- gerrit-maven-clm
- '{project-name}-{stream}-verify-golang'
- '{project-name}-{stream}-merge-golang'
+ - '{project-name}-{stream}-docker-golang-shell-daily':
+ script:
+ !include-raw-escape: 'build-sms-docker-image.sh'
project: 'aaf/sms'
stream:
- 'master':
diff --git a/jjb/aaf/build-sms-docker-image.sh b/jjb/aaf/build-sms-docker-image.sh
new file mode 100755
index 0000000..8f31cad
--- /dev/null
+++ b/jjb/aaf/build-sms-docker-image.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+cd sms-service/bin/
+chmod 755 *.sh
+./build_image.sh
\ No newline at end of file