Class HarnessOsUtils

java.lang.Object
io.jenkins.plugins.har.cli.HarnessOsUtils

public class HarnessOsUtils extends Object
  • Method Details

    • getOs

      public static String getOs()
      Returns the OS segment used in harness/cli release asset names: linux | darwin | windows Designed to run on the agent node (inside a MasterToSlaveCallable).
    • getArch

      public static String getArch()
      Returns the architecture segment used in harness/cli release asset names: amd64 | arm64 Any other architecture is returned as reported by the JVM and rejected by the installer. Designed to run on the agent node (inside a MasterToSlaveCallable).
    • isSupportedArch

      public static boolean isSupportedArch(String arch)
    • getBinaryName

      public static String getBinaryName(boolean isWindows)
    • getHarPluginBinaryName

      public static String getHarPluginBinaryName(boolean isWindows)