[
https://issues.jenkins-ci.org/browse/JENKINS-12264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
kutzi resolved JENKINS-12264.
-----------------------------
Resolution: Duplicate
Linus, your explanation sounds reasonable. Closing this as a duplicate of
JENKINS-13926
> Cleaning "Global MAVEN_OPTS" fails to clean config.xml
> ------------------------------------------------------
>
> Key: JENKINS-12264
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12264
> Project: Jenkins
> Issue Type: Bug
> Components: maven
> Affects Versions: current
> Reporter: Luca Orlandi
>
> Steps to reproduce:
> 1) write -Dfoo=true in system configuration "Global MAVEN OPTS"
> 2) Execute a maven job (see the definition passing by in the console output
> 3) verify <MavenOpts>-Dfoo=true</MavenOpts> in jobs/<jobname>/config.xml
> 4) clean system configuration "Global MAVEN OPTS"
> 5) Re-execute the same maven job (definition is still there)
> 6) verify <MavenOpts>-Dfoo=true</MavenOpts> in jobs/<jobname>/config.xml
> for a correct behavior the mavenOpts tag in config.xml should be cleared.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira