summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/policy/drools-apps-docker-merge.sh10
-rw-r--r--jjb/policy/drools-apps-docker-release.sh10
-rw-r--r--jjb/policy/policy-drools-applications.yaml14
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: