SDP-441

robert_cowham (Robert Cowham)
Robert Cowham created this job , modified by Robert Cowham
Closed
Upgrade.ps1 fails with error for Windows SDP

2019/12/15 18:40:10 Live journal/checkpoint counters 0/1
F:\p4\common\bin\upgrade.ps1 : at Run-Upgrade, F:\p4\common\bin\upgrade.ps1: line 63
at <ScriptBlock>, F:\p4\common\bin\upgrade.ps1: line 116
at <ScriptBlock>, <No file>: line 1
At line:1 char:1
+ .\upgrade.ps1 1
+ ~~~~~~~~~~~~~~~
  + CategoryInfo     : NotSpecified: (:) [Write-Error], WriteErrorException
  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,upgrade.ps1
LogException : 2019/12/15 18:40:10 The variable '$global:EDGESERVER' cannot be retrieved because it has not been set.
At F:\p4\common\bin\upgrade.ps1:125 char:5
+   LogException $_.Exception
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo     : NotSpecified: (:) [Write-Error], RuntimeException
  + FullyQualifiedErrorId : System.Management.Automation.RuntimeException,LogException
26209Fixed upgrade.ps1 with latest SDP-Functions.ps1 and global vars.
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
A
Reported By
Robert Cowham
Reported Date
Modified By
Robert Cowham
Modified Date
Owned By
robert_cowham
Type
Bug