Package io.jenkins.plugins.python
Class PythonInstaller
java.lang.Object
hudson.tools.ToolInstaller
io.jenkins.plugins.python.PythonInstaller
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstaller>
Automatically downloads and installs self-contained standalone Python distributions
on Windows, Linux, and macOS agents without requiring system package managers or root privileges.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.tools.ToolInstaller
tool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanbooleanperformInstallation(ToolInstallation tool, Node node, TaskListener log) voidsetInstallUv(boolean installUv) voidsetMirrorUrl(String mirrorUrl) voidsetUvMirrorUrl(String uvMirrorUrl) voidsetUvVersion(String uvVersion) Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
Constructor Details
-
PythonInstaller
-
-
Method Details
-
getId
-
getMirrorUrl
-
setMirrorUrl
-
isInstallUv
public boolean isInstallUv() -
setInstallUv
@DataBoundSetter public void setInstallUv(boolean installUv) -
getUvVersion
-
setUvVersion
-
getUvMirrorUrl
-
setUvMirrorUrl
-
isUvEnabled
public boolean isUvEnabled() -
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
performInstallationin classToolInstaller- Throws:
IOExceptionInterruptedException
-