Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Windows 7, XP
Description
After upgrading to version 1.15 of MSbuild plugin (from 1.13), it appears that dos style environment variables no longer work in the MSBuild arguments.
Unix style environment variables do appear to work, and provide a workaround.
For example, the following does not work:
MSBuild Build File: %Project%\proj.sln
but this does:
MSBuild Build File: ${Project}\proj.sln
I'm not sure if the change was intentional, but if it was, the help pop-ups are incorrect as they say the arguments should be the same as if you were to run MSBuild from the command line. Regardless of the intent, it would probably be good to have an environment variable in the help pop-up example.
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
http://jenkins-ci.org/commit/msbuild-plugin/fdf464ea9b31c908b7474cbace838baf2135e2b6
Log:
Fix
JENKINS-15029andJENKINS-14898