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

MSBuild Command-line Args - multiple lines - Dropdown + Textbox

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • msbuild-plugin
    • None
    • Platform: All, OS: All

      For TFS plugin, our current command-line args are:

      /logger:FileLogger,Microsoft.Build.Engine;logfile=BuildLog.txt
      /target:DesktopBuild
      /p:ENV=INTEGRATION
      /p:VERS=23
      /p:DRVLTR=E
      /p:SolutionBuild=Solution.sln
      /p:DevEnvDir="E:\Common7\IDE"
      /p:SetupProject=Setup\SetupProj.vdproj
      /p:SetupProjectOutput=SetupProj.msm
      /p:DataFolder=DataDir\Data
      /p:IncrementAssemblyVersion=false

      This works fine, but there our .proj file is so general and takes so many input
      parameters, the line for parameters is huge.

      It would be ideal to have a dropdown with all possible command-line argument
      options (minus options that don't make sense) and a textbox to the right:

      <Dropdown Options>
      nologo
      version
      noautoresponse
      target
      property
      logger
      verbosity
      consoleloggerparam
      noconsolelogger
      validate
      <End DropdownOptions>

      Then there would be an option to "Add Command Line Argument" which creates a
      new row <Dropdown Options> <Textbox>

      The plugin would concat all options together in the form

      msbuild
      x.proj /<combobox1Value>:<textbox1Value> /<combobox2Value>:<textbox2Value> /<co
      mbobox3Value>:<textbox3Value>

      when executing msbuild on the .proj file.

            gbois Gregory Boissinot
            dougbrinkmeier dougbrinkmeier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: