-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 1.609.1.1 (CB 15.05)
Windows Server 2008 R2 x64 Slave
Java 1.8.0_60
JIRA Plugin 2.0.2
Generate Release Notes needs to require the Environment Variable field to be set or provide a default as when that field is empty, Windows jobs fail with java.io.IOException: CreateProcess error=87, The parameter is incorrect.
Steps to Reproduce:
- Create a Freestyle Job
- Enable Generate Release Notes and do not fill in the Environment Variable field
- Add a build step to Execute Windows batch command put set in the command
- The single set command should print the environment on a successful run
- Run the build and it should error out when trying to execute cmd with java.io.IOException: CreateProcess error=87, The parameter is incorrect.