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 GitHub release asset names. Matches the actual naming from harness/harness-cli releases: linux | mac-os | windows Designed to run on the agent node (inside a MasterToSlaveCallable).
    • getArch

      public static String getArch()
      Returns the architecture segment used in Harness CLI GitHub release asset names. Matches the actual naming from harness/harness-cli releases: x86_64 | arm64 | i386 Designed to run on the agent node (inside a MasterToSlaveCallable).
    • getBinaryName

      public static String getBinaryName(boolean isWindows)