-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Currently, if the Root POM field contains a string with a variable like "${BRANCH}/path/to/pom.xml", an error will be displayed when saving the build configuration. The string will be saved and correctly resolved at runtime, but next time you view the configuration, the Root POM field will be empty *and will be saved as empty*.
I think the resolution might be as simple as having MavenModuleSet.doCheckFileInWorkspace() return FormValidation.ok() if the input string contains a variable - i.e. disabling the validation.
[JENKINS-14533] Maven plugin: validation on "Root POM" field should be disabled if field contains vars
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Workflow | Original: JNJira [ 145218 ] | New: JNJira + In-Review [ 185418 ] |
Aborted attempt at fix: https://github.com/jenkinsci/jenkins/pull/563