public class PowerShellInstallation extends hudson.tools.ToolInstallation implements hudson.slaves.NodeSpecific<PowerShellInstallation>, hudson.model.EnvironmentSpecific<PowerShellInstallation>
| Modifier and Type | Class and Description |
|---|---|
static class |
PowerShellInstallation.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULTLINUX |
static String |
DEFAULTWINDOWS |
| Constructor and Description |
|---|
PowerShellInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties) |
| Modifier and Type | Method and Description |
|---|---|
PowerShellInstallation |
forEnvironment(hudson.EnvVars environment) |
PowerShellInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
static String |
getDefaultPowershellWhenNoConfiguration(Boolean isRunningOnWindows) |
String |
getPowerShellBinary() |
static void |
onLoaded() |
public static final transient String DEFAULTWINDOWS
public static final transient String DEFAULTLINUX
public PowerShellInstallation forNode(@Nonnull hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<PowerShellInstallation>IOExceptionInterruptedExceptionpublic PowerShellInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<PowerShellInstallation>public static String getDefaultPowershellWhenNoConfiguration(Boolean isRunningOnWindows)
@Initializer(after=EXTENSIONS_AUGMENTED) public static void onLoaded()
public String getPowerShellBinary()
Copyright © 2016–2022. All rights reserved.