public class VirtualenvManager extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
protected hudson.EnvVars |
diffEnvironments(org.jenkinsci.plugins.workflow.steps.StepContext stepContext,
String relativeDir) |
protected String |
getCommandPath(String pythonInstallation,
org.jenkinsci.plugins.workflow.steps.StepContext context,
hudson.DescriptorExtensionList<hudson.tools.ToolInstallation,hudson.tools.ToolDescriptor<?>> descriptors) |
hudson.util.ArgumentListBuilder |
getCreateVirtualEnvCommand(org.jenkinsci.plugins.workflow.steps.StepContext context,
String pythonInstallation) |
String |
getFullyQualifiedPythonEnvDirectoryName(org.jenkinsci.plugins.workflow.steps.StepContext stepContext,
String pythonInstallation) |
static VirtualenvManager |
getInstance() |
String |
getRelativePythonEnvDirectory(String pythonInstallation) |
protected String |
getUnixCommandPath(String baseToolDirectory,
String pythonInstallation) |
hudson.EnvVars |
getVirtualEnvEnvVars(WithPythonEnvStep step,
org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
protected String |
getWindowsCommandPath(String baseToolDirectory,
String pythonInstallation) |
protected String |
processPathValues(String originalPath,
String newPath,
org.jenkinsci.plugins.workflow.steps.StepContext context) |
public static VirtualenvManager getInstance()
public String getFullyQualifiedPythonEnvDirectoryName(org.jenkinsci.plugins.workflow.steps.StepContext stepContext, String pythonInstallation) throws Exception
Exceptionpublic hudson.util.ArgumentListBuilder getCreateVirtualEnvCommand(org.jenkinsci.plugins.workflow.steps.StepContext context,
String pythonInstallation)
throws Exception
Exceptionpublic hudson.EnvVars getVirtualEnvEnvVars(WithPythonEnvStep step, org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
Exceptionprotected hudson.EnvVars diffEnvironments(org.jenkinsci.plugins.workflow.steps.StepContext stepContext,
String relativeDir)
throws Exception
Exceptionprotected String processPathValues(String originalPath, String newPath, org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
Exceptionprotected String getWindowsCommandPath(String baseToolDirectory, String pythonInstallation) throws Exception
Exceptionprotected String getCommandPath(String pythonInstallation, org.jenkinsci.plugins.workflow.steps.StepContext context, hudson.DescriptorExtensionList<hudson.tools.ToolInstallation,hudson.tools.ToolDescriptor<?>> descriptors) throws Exception
Exceptionprotected String getUnixCommandPath(String baseToolDirectory, String pythonInstallation) throws Exception
ExceptionCopyright © 2016–2018. All rights reserved.