Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1187

Fix the PowerShell download command for Windows packaging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.0
    • Component/s: Packaging / Build
    • Environment:
      Windows

      Description

      To download installation files on our Windows slaves, we are using:

      $curl = New-Object System.Net.WebClient
      $curl.DownloadFile($url, $output)
      

      But for an obscure reason it is not working anymore.

      After some researches, this command will fail too:

      Invoke-WebRequest -Uri $url -OutFile $output
      

      And this one is working:

      Import-Module BitsTransfer
      Start-BitsTransfer -Source $url -Destination $output
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h