Added docker release jobs for has and osdf 07/32307/1
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Tue, 20 Feb 2018 12:36:30 +0000 (04:36 -0800)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Tue, 20 Feb 2018 12:36:30 +0000 (04:36 -0800)
Added calling scripts to build docker image.
Modified the jjb to add docker release job.

Change-Id: I9268f63cc22041d0cea2f2cdb282f8d5ce8f3687
Issue-ID: OPTFRA-5
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
jjb/optf/build-optf-has-docker-image.sh [new file with mode: 0644]
jjb/optf/build-optf-osdf-docker-image.sh [new file with mode: 0644]
jjb/optf/optf-has.yaml
jjb/optf/optf-osdf.yaml

diff --git a/jjb/optf/build-optf-has-docker-image.sh b/jjb/optf/build-optf-has-docker-image.sh
new file mode 100644 (file)
index 0000000..d1405f4
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./conductor/docker/*.*
+
+./conductor/docker/build-dockers.sh
diff --git a/jjb/optf/build-optf-osdf-docker-image.sh b/jjb/optf/build-optf-osdf-docker-image.sh
new file mode 100644 (file)
index 0000000..99eab5d
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
+
+chmod 755 ./docker/*.*
+
+./docker/build_image.sh
index 77a7443..08d4e02 100644 (file)
       - '{project-name}-{stream}-{subproject}-verify-java'
       - '{project-name}-{stream}-{subproject}-merge-java'
       - '{project-name}-{stream}-{subproject}-release-version-java-daily'
+      - '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily':
+          docker-pom: 'pom.xml'
+          mvn-goals: 'install'
+          script:
+            !include-raw-escape: 'build-optf-has-docker-image.sh'
     files: '**'
     archive-artifacts: ''
     build-node: 'ubuntu1604-basebuild-4c-4g'
index e9571b7..e31f9f7 100644 (file)
       - '{project-name}-{stream}-{subproject}-verify-java'
       - '{project-name}-{stream}-{subproject}-merge-java'
       - '{project-name}-{stream}-{subproject}-release-version-java-daily'
+      - '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily':
+          docker-pom: 'pom.xml'
+          mvn-goals: 'install'
+          script:
+            !include-raw-escape: 'build-optf-osdf-docker-image.sh'
     files: '**'
     archive-artifacts: ''
     build-node: 'ubuntu1604-basebuild-4c-4g'