Package com.checkmarx.jenkins.tools
Class CheckmarxInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- com.checkmarx.jenkins.tools.CheckmarxInstaller
-
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstaller>
public class CheckmarxInstaller extends ToolInstaller
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckmarxInstaller.CheckmarxInstallerDescriptor-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static StringcliDefaultVersion-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description CheckmarxInstaller(String label, String version, Long updatePolicyIntervalHours)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<Path>findVersionFilePath()StringgetVersionNumber()FilePathperformInstallation(ToolInstallation toolInstallation, Node node, TaskListener taskListener)StringreadCLILatestVersionFromVersionFile()-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Field Detail
-
cliDefaultVersion
public static final String cliDefaultVersion
- See Also:
- Constant Field Values
-
-
Method Detail
-
performInstallation
public FilePath performInstallation(ToolInstallation toolInstallation, Node node, TaskListener taskListener) throws IOException, InterruptedException
- Specified by:
performInstallationin classToolInstaller- Throws:
IOExceptionInterruptedException
-
getVersionNumber
public String getVersionNumber()
-
readCLILatestVersionFromVersionFile
public String readCLILatestVersionFromVersionFile()
-
-