-
Bug
-
Resolution: Unresolved
-
Minor
-
None
job-dsl generates empty <jvmOptions/> tag in config.xml even there isn't any reference in source like:
job('example') { steps { maven('verify') } }
This empty <jvmOptions/> tag causes an issue later - in the core there is a test only if jvmOptions is null but not empty - in such a case MAVEN_OPTS is replaced.
In our real use case we need to prefer IPv6 network stack and DNS addresses instead of IPv4, JAVA_OPTS and MAVEN_OPTS environment variables are set correctly however the job is failing on pure IPv6 environment.