summaryrefslogtreecommitdiffstats
path: root/jjb/policy
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-07-06 14:21:39 +0100
committerliamfallon <liam.fallon@est.tech>2022-07-06 14:21:44 +0100
commit030e028117928aa42e57cb238b278e75e034cd72 (patch)
tree490d2a5038e4e3615b675cc7ffd41b667bec16a0 /jjb/policy
parent17b4616c23668dd2b03ce656d83cd3e7eba48fe1 (diff)
Set docker build to use Java 11
iJava 8 is breaking the Docker merge job. Issue-ID: POLICY-4233 Change-Id: I318755dd3edac70263df183ad5ea0e355bb3a213 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'jjb/policy')
-rw-r--r--jjb/policy/policy-docker-base-common.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/policy/policy-docker-base-common.yaml b/jjb/policy/policy-docker-base-common.yaml
index 1ee23bd40..74c90118b 100644
--- a/jjb/policy/policy-docker-base-common.yaml
+++ b/jjb/policy/policy-docker-base-common.yaml
@@ -17,6 +17,9 @@
container-staging-registry: 'nexus3.onap.org:10003'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
+ mvn-settings: 'policy-docker-settings'
+ mvn-params: "-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false"
+ java-version: openjdk11
project: 'policy/docker'
stream:
@@ -29,6 +32,8 @@
- 'jakarta':
branch: 'jakarta'
mvn-settings: 'policy-docker-settings'
+ mvn-params: "-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false"
+ java-version: openjdk11
files: '**'
archive-artifacts: ''
build-node: ubuntu1804-builder-4c-4g
@@ -50,6 +55,8 @@
- 'jakarta':
branch: 'jakarta'
mvn-settings: 'policy-docker-settings'
+ mvn-params: "-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false"
+ java-version: openjdk11
- project:
name: policy-docker-info