From 52a775e89dbbf5d3938d21c89b1a7abacb5c1028 Mon Sep 17 00:00:00 2001 From: jhh Date: Mon, 23 May 2022 11:47:38 -0500 Subject: [PATCH] Prefer IPv4 in maven builds in policy This tests if drools-applications build problems reported with ticket IT-24061 can be avoided in jenkins servers indicating maven JVM that IPv4 is preferred. Issue-ID: POLICY-4213 Signed-off-by: jhh Change-Id: Ib2d9eb584345a0e2719cecc759617a745fd844f9 --- jjb/policy/policy-drools-applications.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml index ef77d20e2..dc8142515 100644 --- a/jjb/policy/policy-drools-applications.yaml +++ b/jjb/policy/policy-drools-applications.yaml @@ -8,6 +8,7 @@ docker-pom: 'pom.xml' mvn-profile: 'docker' mvn-params: "-P docker" + java-opts: '-Djava.net.preferIPv4Stack=true' - gerrit-maven-stage: sign-artifacts: true build-node: centos7-builder-4c-4g -- 2.16.6