Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9922

Visual Studio builder task does not allow the pipe symbol to be passed in the arguments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • 4.0
    • .NET, Windows
    • Standalone Bamboo
      Windows Server 2008 R2 6.1
      JRE Version1.6.0_26-b03
    • 0
    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      When specifying a platform to build in the Visual Studio builder tasks' configuration page the parameter is not passed to further steps correctly.

      The parsing of arguments in bamboo is good, but devenv is a 'special' beast:
      1. It has parameters pairs separated by whitespace
      2. The platform to build uses the pipe symbol (what were they thinking?)

      An example: devenv Project.sln /Rebuild "Release|Any CPU"

      To get around the first issue we changed the options to: /Rebuild '"Release|Any CPU"'
      To get around the second issue we needed to modify devenvrunner.bat to add quotes to the argument if it contained a pipe character.

      I have attached our fix for the batch file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              71b016cc8b3b Adam Woods
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified