-
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.
Aborted attempt at fix: https://github.com/jenkinsci/jenkins/pull/563