summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/policy/include-raw-docker-verify.sh12
-rw-r--r--jjb/policy/policy-docker.yaml9
2 files changed, 19 insertions, 2 deletions
diff --git a/jjb/policy/include-raw-docker-verify.sh b/jjb/policy/include-raw-docker-verify.sh
new file mode 100644
index 000000000..d1943ba7c
--- /dev/null
+++ b/jjb/policy/include-raw-docker-verify.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+
+DOCKER_REPOSITORY=nexus3.openecomp.org:10003
+
+for image in policy-os policy-nexus policy-db policy-base policy-drools policy-pe ; do
+ echo "Building $image"
+ mkdir -p target/$image
+ cp $image/* target/$image
+done
diff --git a/jjb/policy/policy-docker.yaml b/jjb/policy/policy-docker.yaml
index b73fbc1f9..4489304ef 100644
--- a/jjb/policy/policy-docker.yaml
+++ b/jjb/policy/policy-docker.yaml
@@ -3,8 +3,13 @@
name: policy-docker
project-name: 'policy-docker-policy'
jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-verify-script':
+ script:
+ !include-raw-escape: 'include-raw-docker-verify.sh'
+ - '{project-name}-{stream}-merge-scm-mvn-script':
+ mvn-goals: '--version'
+ script:
+ !include-raw-escape: 'include-raw-docker-verify.sh'
- '{project-name}-{stream}-docker-java-shell-daily':
docker-pom: 'pom.xml'
mvn-goals: 'prepare-package'