Class CLTManager

java.lang.Object
io.jenkins.plugins.finitestate.CLTManager

public class CLTManager extends Object
Utility class for managing the Finite State CLT (Command Line Tool) download and caching. This class provides centralized logic for downloading, caching, and validating the CLT JAR file.
  • Method Details

    • getOrDownloadCLT

      public static FilePath getOrDownloadCLT(String cltUrl, String apiToken, String subdomain, FilePath workspace, TaskListener listener) throws IOException, InterruptedException
      Get or download the CLT jar file with proper caching and validation.
      Parameters:
      cltUrl - The URL to download the CLT from
      apiToken - The API token for authentication
      subdomain - The subdomain for filename generation
      listener - The build listener for logging
      Returns:
      The path to the CLT JAR file
      Throws:
      IOException - if download fails or file is invalid
      InterruptedException