Add aaf docker jenkins template 81/40381/1
authorSai Gandham <sg481n@att.com>
Fri, 30 Mar 2018 14:41:16 +0000 (09:41 -0500)
committerSai Gandham <sg481n@att.com>
Fri, 30 Mar 2018 14:41:23 +0000 (09:41 -0500)
Modify aaf jenkins template and add docker related jobs
to the aaf jenkins template

Issue-ID: AAF-208
Change-Id: I58a2648db5b0f975bc1da0f1c8ae95a8a2af54d8
Signed-off-by: Sai Gandham <sg481n@att.com>
jjb/aaf/aaf-authz.yaml
jjb/aaf/build-aaf-docker-image.sh [new file with mode: 0644]

index 918c581..91b11e6 100644 (file)
@@ -7,6 +7,9 @@
       - '{project-name}-{stream}-verify-java'
       - '{project-name}-{stream}-merge-java'
       - '{project-name}-{stream}-release-version-java-daily'
+      - '{project-name}-{stream}-docker-golang-shell-daily':
+          script:
+            !include-raw-escape: 'build-aaf-docker-image.sh'
     project: 'aaf/authz'
     stream:
       - 'master':
diff --git a/jjb/aaf/build-aaf-docker-image.sh b/jjb/aaf/build-aaf-docker-image.sh
new file mode 100644 (file)
index 0000000..5046cf4
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+cd auth/docker
+chmod 755 *
+./dbuild
\ No newline at end of file