diff options
author | 2018-03-22 14:20:46 -0700 | |
---|---|---|
committer | 2018-03-22 14:54:42 -0700 | |
commit | 178a2901bc3696199da7ae3fee99ffa27eb28609 (patch) | |
tree | d5007c6ae368029a0e122951c608c9fdeab9686f /jjb | |
parent | ab9695083c89827b329090fe825ba3e4ff686713 (diff) |
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>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/aaf/aaf-sms.yaml | 3 | ||||
-rwxr-xr-x | jjb/aaf/build-sms-docker-image.sh | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/jjb/aaf/aaf-sms.yaml b/jjb/aaf/aaf-sms.yaml index d09783478..0e0c5e616 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 000000000..8f31cad34 --- /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 |