Environment:Windows Server 2008 R2
Jenkins Gradle Plugin 1.12
Gradle plugin explicitly passes job parameters to the "cmd.exe /c gradle.bat" call.
If one of these arguments looks like XML, but does not contain whitespace, it is not quoted. This leads to problems with input/output redirection symbols (less-than, greater-than)
Example String Parameter value:
Results in the following build output:
Real world example:
Copy artifacts plugin's "Latest successful build" has the value:
This results in "File not found" errors on Windows Server. Not tested on Linux.