Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-41801: Allow empty build parameters to be replaced in ant pro…
…perties. By using EnvVars.overrideAll() to add all build variable to EnvVars, any blank ("") build parameters are not added (or if they existed would be removed) from EnvVars. This means any reference to a blank variable is not replaced instead of being set to empty. The tests check the log line where the ant command line is printed. It's needed to check here for reliable tests, because on unix the $parameter will be replaced by the shell, but not in windows. By testing the command line params we ensure the replacements occur before going to the OS to run ant. The tests try to be resilient to the command line and param formatting on windows.
- Loading branch information
Showing with 58 additions and 2 deletions.