diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-02-20 14:35:52 -0600 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-02-20 14:37:42 -0600 |
commit | f84a00ec4fdfd10d4101129eb72a3293e2eb10fe (patch) | |
tree | c1a247411b13d044b43f27cee106af6d294548e9 | |
parent | 744630e8b7ba2a8fc539cd4d5eeddfc984a025df (diff) |
docker build/push for new pdpd-cl docker image
Change-Id: I299e3487ed568c74ac531c1b1e12a48166e9c964
Issue-ID: POLICY-1537
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
-rw-r--r-- | jjb/policy/drools-apps-docker-merge.sh | 10 | ||||
-rw-r--r-- | jjb/policy/drools-apps-docker-release.sh | 10 | ||||
-rw-r--r-- | jjb/policy/policy-drools-applications.yaml | 14 |
3 files changed, 32 insertions, 2 deletions
diff --git a/jjb/policy/drools-apps-docker-merge.sh b/jjb/policy/drools-apps-docker-merge.sh new file mode 100644 index 000000000..9291c0b39 --- /dev/null +++ b/jjb/policy/drools-apps-docker-merge.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# +echo '============== CALLING SCRIPT TO MERGE DROOLS APPLICATIONS DOCKER IMAGE =================' + +CURRENTDIR="$(pwd)" +echo $CURRENTDIR + +chmod 755 controlloop/build/docker-cl + +controlloop/build/docker-cl --merge diff --git a/jjb/policy/drools-apps-docker-release.sh b/jjb/policy/drools-apps-docker-release.sh new file mode 100644 index 000000000..07755b72c --- /dev/null +++ b/jjb/policy/drools-apps-docker-release.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# +echo '============== CALLING SCRIPT TO RELEASE DROOLS APPLICATIONS DOCKER IMAGE =================' + +CURRENTDIR="$(pwd)" +echo $CURRENTDIR + +chmod 755 controlloop/build/docker-cl + +controlloop/build/docker-cl --release diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml index ba8a08fd2..49da3d215 100644 --- a/jjb/policy/policy-drools-applications.yaml +++ b/jjb/policy/policy-drools-applications.yaml @@ -4,9 +4,19 @@ project-name: 'policy-drools-applications' jobs: - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily': + - '{project-name}-{stream}-merge-scm-mvn-script': + mvn-goals: 'clean deploy -B + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' + script: + !include-raw-escape: 'drools-apps-docker-merge.sh' + - '{project-name}-{stream}-docker-java-version-shell-daily': + docker-pom: 'pom.xml' + mvn-goals: 'clean deploy -B + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' + script: + !include-raw-escape: 'drools-apps-docker-release.sh' disabled: true + build-node: ubuntu1604-docker-8c-8g project: 'policy/drools-applications' stream: |