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

Nant Task cannot handle parameters with multiple values which contain space

    XMLWordPrintable

Details

    Description

      This issue is something similar to the bug affecting MSBUILD at BAM-13608

      The options is something like:

      /D:arg="/xml:Result.xml /exclude:Nightly" /D:TestsPath="src\Tests"
      

      The build fails with the message

      Unknown argument '/exclude:Nightly'
      

      the space has made bamboo to view it as a separate argument.

      Workaround
      Replace the quotes with single quotes. Something like below will work

      /D:arg='/xml:Result.xml /exclude:Nightly' /D:TestsPath='src\Tests'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: