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 class
CheckmarxInstaller.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 String
cliDefaultVersion
-
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()
String
getVersionNumber()
FilePath
performInstallation(ToolInstallation toolInstallation, Node node, TaskListener taskListener)
String
readCLILatestVersionFromVersionFile()
-
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:
performInstallation
in classToolInstaller
- Throws:
IOException
InterruptedException
-
getVersionNumber
public String getVersionNumber()
-
readCLILatestVersionFromVersionFile
public String readCLILatestVersionFromVersionFile()
-
-