diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-20 20:42:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@openecomp.org> | 2017-02-20 20:42:12 +0000 |
commit | afcc3178db89a8a43acbac711f2bcc959129f3a1 (patch) | |
tree | 1606c9f099a0c8ff0bc2bf373dce75af0848e7fa | |
parent | 3bdbcf648791e55f87afc948b27c0da21a04c5dc (diff) | |
parent | 6ee398dc9da17449a84756a385d033b2b67813a2 (diff) |
Merge "switching to scripts from java"
-rw-r--r-- | jjb/policy/include-raw-docker-verify.sh | 12 | ||||
-rw-r--r-- | jjb/policy/policy-docker.yaml | 9 |
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' |