summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2022-05-23 11:47:38 -0500
committerjhh <jorge.hernandez-herrero@att.com>2022-05-23 11:51:08 -0500
commit52a775e89dbbf5d3938d21c89b1a7abacb5c1028 (patch)
treefaeb8e031000dda8a92b3b56bea53e90eb55b832
parent75fced60f15d7fe1dd75537ce6ca09d42994d21e (diff)
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 <jorge.hernandez-herrero@att.com> Change-Id: Ib2d9eb584345a0e2719cecc759617a745fd844f9
-rw-r--r--jjb/policy/policy-drools-applications.yaml1
1 files changed, 1 insertions, 0 deletions
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