Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14898

MsBuild windows style environment variables no longer work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: msbuild-plugin
    • Labels:
      None
    • Environment:
      Windows 7, XP
    • Similar Issues:

      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.

        Attachments

          Activity

            People

            • Assignee:
              kdsweeney kdsweeney
              Reporter:
              anwallen Andrew Wallen
            • Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: