Some environment variables are not resolved in command line

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: msbuild-plugin
    • None
    • Environment:
      Windows 7 slave

      The following command line:

      /t:Make /p:Config="Release Build" /p:BUILD_NUMBER=${BUILD_NUMBER} /p:SVN_REVISION=${SVN_REVISION}
      

      is resolved to something like:

      cmd.exe /C C:\Windows\Microsoft.NET\Framework\v2.0.50727\msbuild.exe /t:Make "/p:Config=Release Build" /p:BUILD_NUMBER=100 /p:SVN_REVISION=${SVN_REVISION} myProject.sln && exit %%ERRORLEVEL%%
      

      Note how BUILD_NUMBER is resolved correctly, while SVN_REVISION is not.

            Assignee:
            kdsweeney
            Reporter:
            Hendrik Fuß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: