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
diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml
index ef77d20..dc81425 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