diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-20 15:30:52 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-20 15:31:02 -0500 |
commit | 6ee398dc9da17449a84756a385d033b2b67813a2 (patch) | |
tree | bdc67be51a00c7a6d195fb22448e3a36c44d653d /jjb/policy | |
parent | f959ff30e4e83f631d5e052472d0f8a819249b61 (diff) |
switching to scripts from java
Change-Id: I76030bbb5b635b1d27dc7cd96a49b2f99a537efd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'jjb/policy')
-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' |