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

jenkins powershell set timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • powershell-plugin
    • None

      I'm using Powershell plugin to copy file from host the VM.
      The problem is that Copy-VMGuestFile returns 'A task was canceled' error.

      In powershell (not via jenkins), I've solved this issue by setting timeout value to infinite, using Set-PowerCLIConfiguration -WebOperationTimeoutSeconds -1 as an Administrator and restart PowerCLI.

      In Jenkis, I didn't see an option to set the timeout value.
      Any ideas how can I solve this?

            Unassigned Unassigned
            yam2018 ya ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: