-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
Windows
I have a 2-step build process:
1. Copy artifact from another project
2. Invoke top-level Maven artifact
I'm using parameterized build with a "Build selector for Copy Artifact" (parameter name: which_build).
When I start the build and select "Latest successful build" option with "Stable build only" unchecked the generated parameter value will not be escaped for Maven command line and the build fails (on Windows):
"e:\Program Files\apache-maven-3.0.3\bin\mvn.bat" -Dwhich_build=<StatusBuildSelector/> -e ...
When I have "Stable build only" checked, the build runs fine as the following command line is used with XML tags correctly escaped:
"e:\Program Files\apache-maven-3.0.3\bin\mvn.bat" "-Dwhich_build=<StatusBuildSelector> <stable>true</stable></StatusBuildSelector>" -e ...
- duplicates
-
JENKINS-11385 Parameter value with '<', '>' are not properly escaped when launching mvn
- Resolved