From 6ee398dc9da17449a84756a385d033b2b67813a2 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 20 Feb 2017 15:30:52 -0500 Subject: switching to scripts from java Change-Id: I76030bbb5b635b1d27dc7cd96a49b2f99a537efd Signed-off-by: Pamela Dragosh --- jjb/policy/include-raw-docker-verify.sh | 12 ++++++++++++ jjb/policy/policy-docker.yaml | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 jjb/policy/include-raw-docker-verify.sh (limited to 'jjb/policy') 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' -- cgit 1.2.3-korg