You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b8eb71
Browse filesBrowse the repository at this point in the historyBrowse files
if (-not$artifactObject) { throw"Artifact for parameter InSession not found: $($actualParameters.InSession)" }
47
+
if ($artifactObject.Value-isnot [System.Management.Automation.Runspaces.PSSession]) { throw"Artifact for parameter InSession ($($actualParameters.InSession)) is not a pssession!" }
48
+
$inSession=$artifactObject.Value
49
+
}
50
+
#endregion Process Parameters
51
+
52
+
#region Execution
53
+
$invokeParam=@{
54
+
ScriptBlock=$scriptblock
55
+
ArgumentList=$actualArguments
56
+
}
57
+
if ($inSession) { $invokeParam.Session=$inSession }
if (-not$actualParameters.ArtifactName) { throw"No ArtifactName specified! Unable to publish remoting session for build." }
11
11
if (-not ($actualParameters.VMName-or$actualParameters.ComputerName)) { throw"Neither ComputerName nor VMName specified, unable to connect to nothing!" }
0 commit comments