【发布时间】:2019-01-03 12:39:00
【问题描述】:
在我的 groovy 管道中使用了以下行。
powershell "Invoke-WebRequest -Uri 'https://artifacts.company.int/artifactory/nuget-internal-stable/com/company/Exes.zip' -OutFile 'D:\jenkins\workspace\CompanyServices\Folder\Exes.zip'"
但不知何故它现在工作:
它会抛出以下错误:
“Invoke-WebRequest:底层连接已关闭:接收时发生意外错误。 在 D:\jenkins\workspace\CompanyServices\Folder@tmp\durable-2e2f2b14\powershellScript.ps1:1 char:1"
【问题讨论】:
-
请任何人......
标签: powershell groovy jenkins-pipeline jenkins-groovy