Package io.jenkins.plugins.har.cli
Class HarnessOsUtils
java.lang.Object
io.jenkins.plugins.har.cli.HarnessOsUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetArch()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.static StringgetBinaryName(boolean isWindows) static StringgetHarPluginBinaryName(boolean isWindows) static StringgetOs()Returns the OS segment used in harness/cli release asset names: linux | darwin | windows Designed to run on the agent node (inside a MasterToSlaveCallable).static booleanisSupportedArch(String arch)
-
Method Details
-
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
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
-
getBinaryName
-
getHarPluginBinaryName
-