[JIRA] (JENKINS-51381) jenkins powershell set timeout

2018-05-17 Thread yafit.m...@efi.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ya ma updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51381  
 
 
  jenkins powershell set timeout   
 

  
 
 
 
 

 
Change By: 
 ya ma  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 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?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an 

[JIRA] (JENKINS-51381) jenkins powershell set timeout

2018-05-17 Thread yafit.m...@efi.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ya ma updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51381  
 
 
  jenkins powershell set timeout   
 

  
 
 
 
 

 
Change By: 
 ya ma  
 
 
Environment: 
 I'm using PowerShell plugin to run a script which copy a file.Copy-VMGuestFile returns 'A task was canceled' error.To solve this issue, from powershell (not jenkins), I've set timeout value to infinite by executing Set-PowerCLIConfiguration -WebOperationTimeoutSeconds -1 as an Administrator and restarted PowerCLI.The problem is that in jenkins, I don't have an option to set the timeout parameters and my script fails.Any ideas how can I solve this?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51381) jenkins powershell set timeout

2018-05-17 Thread yafit.m...@efi.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ya ma created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51381  
 
 
  jenkins powershell set timeout   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 powershell-plugin  
 
 
Created: 
 2018-05-17 06:46  
 
 
Environment: 
 I'm using PowerShell plugin to run a script which copy a file.  Copy-VMGuestFile returns 'A task was canceled' error.  To solve this issue, from powershell (not jenkins), I've set timeout value to infinite by executing Set-PowerCLIConfiguration -WebOperationTimeoutSeconds -1 as an Administrator and restarted PowerCLI.  The problem is that in jenkins, I don't have an option to set the timeout parameters and my script fails.   Any ideas how can I solve this?  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 ya ma  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was