summaryrefslogtreecommitdiffstats
path: root/jjb/policy
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/policy')
-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-apex-pdp.yaml2
-rw-r--r--jjb/policy/policy-api.yaml11
-rw-r--r--jjb/policy/policy-common.yaml2
-rw-r--r--jjb/policy/policy-csit.yaml48
-rw-r--r--jjb/policy/policy-distribution.yaml2
-rw-r--r--jjb/policy/policy-drools-applications.yaml16
-rw-r--r--jjb/policy/policy-drools-pdp.yaml2
-rw-r--r--jjb/policy/policy-engine.yaml2
-rw-r--r--jjb/policy/policy-pap.yaml11
-rw-r--r--jjb/policy/policy-xacml-pdp.yaml11
12 files changed, 116 insertions, 11 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-apex-pdp.yaml b/jjb/policy/policy-apex-pdp.yaml
index aa5d49bc8..1fba9abf7 100644
--- a/jjb/policy/policy-apex-pdp.yaml
+++ b/jjb/policy/policy-apex-pdp.yaml
@@ -48,7 +48,7 @@
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
script:
!include-raw-escape: 'include-raw-docker-release.sh'
- disabled: false
+ disabled: true
build-node: ubuntu1604-docker-8c-8g
project: 'policy/apex-pdp'
stream:
diff --git a/jjb/policy/policy-api.yaml b/jjb/policy/policy-api.yaml
index 9c2874b86..ccf18d31c 100644
--- a/jjb/policy/policy-api.yaml
+++ b/jjb/policy/policy-api.yaml
@@ -4,7 +4,16 @@
project-name: 'policy-api'
jobs:
- '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-merge-java':
+ docker-pom: 'pom.xml'
+ mvn-params: '-P docker'
+ build-node: ubuntu1604-docker-8c-8g
+ - '{project-name}-{stream}-docker-version-java-daily':
+ docker-pom: 'pom.xml'
+ mvn-profile: 'docker'
+ mvn-params: '-Dmaven.test.skip=true'
+ disabled: true
+ build-node: ubuntu1604-docker-8c-8g
project: 'policy/api'
stream:
diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml
index d81fb7e96..d4e80b993 100644
--- a/jjb/policy/policy-common.yaml
+++ b/jjb/policy/policy-common.yaml
@@ -24,7 +24,7 @@
- '{project-name}-{stream}-verify-java'
- '{project-name}-{stream}-merge-java'
- '{project-name}-{stream}-release-version-java-daily':
- disabled: false
+ disabled: true
project: 'policy/common'
stream:
diff --git a/jjb/policy/policy-csit.yaml b/jjb/policy/policy-csit.yaml
index 90ee700cb..33ad95d98 100644
--- a/jjb/policy/policy-csit.yaml
+++ b/jjb/policy/policy-csit.yaml
@@ -53,3 +53,51 @@
- 'policy-distribution-{stream}-merge-java'
robot-options: ''
branch: 'master'
+
+- project:
+ name: policy-api-csit
+ jobs:
+ - '{project-name}-{stream}-verify-csit-{functionality}'
+ - '{project-name}-{stream}-csit-{functionality}'
+ project-name: 'policy'
+ stream:
+ - 'master':
+ branch: master
+ functionality:
+ - 'api'
+ trigger_jobs:
+ - 'policy-api-{stream}-merge-java'
+ robot-options: ''
+ branch: 'master'
+
+- project:
+ name: policy-xacml-pdp-csit
+ jobs:
+ - '{project-name}-{stream}-verify-csit-{functionality}'
+ - '{project-name}-{stream}-csit-{functionality}'
+ project-name: 'policy'
+ stream:
+ - 'master':
+ branch: master
+ functionality:
+ - 'xacml-pdp'
+ trigger_jobs:
+ - 'policy-xacml-pdp-{stream}-merge-java'
+ robot-options: ''
+ branch: 'master'
+
+- project:
+ name: policy-pap-csit
+ jobs:
+ - '{project-name}-{stream}-verify-csit-{functionality}'
+ - '{project-name}-{stream}-csit-{functionality}'
+ project-name: 'policy'
+ stream:
+ - 'master':
+ branch: master
+ functionality:
+ - 'pap'
+ trigger_jobs:
+ - 'policy-pap-{stream}-merge-java'
+ robot-options: ''
+ branch: 'master' \ No newline at end of file
diff --git a/jjb/policy/policy-distribution.yaml b/jjb/policy/policy-distribution.yaml
index 6c529c89a..c2ad0f723 100644
--- a/jjb/policy/policy-distribution.yaml
+++ b/jjb/policy/policy-distribution.yaml
@@ -37,7 +37,7 @@
docker-pom: 'pom.xml'
mvn-profile: 'docker'
mvn-params: '-Dmaven.test.skip=true'
- disabled: false
+ disabled: true
build-node: ubuntu1604-docker-8c-8g
project: 'policy/distribution'
diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml
index 7661e5079..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:
@@ -24,7 +34,7 @@
- '{project-name}-{stream}-verify-java'
- '{project-name}-{stream}-merge-java'
- '{project-name}-{stream}-release-version-java-daily':
- disabled: false
+ disabled: true
project: 'policy/drools-applications'
stream:
diff --git a/jjb/policy/policy-drools-pdp.yaml b/jjb/policy/policy-drools-pdp.yaml
index 5e34e7791..367783742 100644
--- a/jjb/policy/policy-drools-pdp.yaml
+++ b/jjb/policy/policy-drools-pdp.yaml
@@ -42,7 +42,7 @@
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
script:
!include-raw-escape: 'include-raw-docker-release.sh'
- disabled: false
+ disabled: true
build-node: ubuntu1604-docker-8c-8g
project: 'policy/drools-pdp'
stream:
diff --git a/jjb/policy/policy-engine.yaml b/jjb/policy/policy-engine.yaml
index a52553818..70d9c3a9f 100644
--- a/jjb/policy/policy-engine.yaml
+++ b/jjb/policy/policy-engine.yaml
@@ -42,7 +42,7 @@
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
script:
!include-raw-escape: 'include-raw-docker-release.sh'
- disabled: false
+ disabled: true
build-node: ubuntu1604-docker-8c-8g
project: 'policy/engine'
stream:
diff --git a/jjb/policy/policy-pap.yaml b/jjb/policy/policy-pap.yaml
index 0b8e733ea..f5b235364 100644
--- a/jjb/policy/policy-pap.yaml
+++ b/jjb/policy/policy-pap.yaml
@@ -4,7 +4,16 @@
project-name: 'policy-pap'
jobs:
- '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-merge-java':
+ docker-pom: 'pom.xml'
+ mvn-params: '-P docker'
+ build-node: ubuntu1604-docker-8c-8g
+ - '{project-name}-{stream}-docker-version-java-daily':
+ docker-pom: 'pom.xml'
+ mvn-profile: 'docker'
+ mvn-params: '-Dmaven.test.skip=true'
+ disabled: true
+ build-node: ubuntu1604-docker-8c-8g
project: 'policy/pap'
stream:
diff --git a/jjb/policy/policy-xacml-pdp.yaml b/jjb/policy/policy-xacml-pdp.yaml
index 83e590cc5..5726eb0f6 100644
--- a/jjb/policy/policy-xacml-pdp.yaml
+++ b/jjb/policy/policy-xacml-pdp.yaml
@@ -4,7 +4,16 @@
project-name: 'policy-xacml-pdp'
jobs:
- '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-merge-java':
+ docker-pom: 'pom.xml'
+ mvn-params: '-P docker'
+ build-node: ubuntu1604-docker-8c-8g
+ - '{project-name}-{stream}-docker-version-java-daily':
+ docker-pom: 'pom.xml'
+ mvn-profile: 'docker'
+ mvn-params: '-Dmaven.test.skip=true'
+ disabled: true
+ build-node: ubuntu1604-docker-8c-8g
project: 'policy/xacml-pdp'
stream: