Package jetbrains.buildServer.agent
Interface VirtualContext
-
- All Known Implementing Classes:
DefaultVirtualContext
public interface VirtualContext
Represents current current virtual context in the scope of build step.- Since:
- 2019.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OSType
getTargetOSType()
boolean
isVirtual()
String
resolvePath(String path)
Converts an agent's path to a path in the current virtual context if it is needed otherwise returns original value of {@param path}
-
-
-
Method Detail
-
isVirtual
boolean isVirtual()
- Returns:
- true if the given step will be run under a virtual environment
-
getTargetOSType
@NotNull OSType getTargetOSType()
- Returns:
- actual OS type if the given step will be run under a virtual environment otherwise the agent's OS type
-
-