Class HarnessCliGitHubInstaller

java.lang.Object
hudson.tools.ToolInstaller
io.jenkins.plugins.har.cli.callables.HarnessCliGitHubInstaller
All Implemented Interfaces:
ExtensionPoint, Describable<ToolInstaller>

public class HarnessCliGitHubInstaller extends ToolInstaller
Downloads the Harness CLI from harness/cli GitHub releases and installs it on Jenkins agents.

Each release publishes a bundle containing the core harness binary and the harness-har Artifact Registry plugin, plus a SHA-256 checksums file:

   harness-bundle_{version}_{os}_{arch}.tar.gz   (linux, darwin)
   harness-bundle_{version}_windows_{arch}.zip
   harness_{version}_checksums.txt

   OS   : linux | darwin | windows
   Arch : amd64 | arm64
 

After extraction the installer registers harness-har with harness install plugin, using <tool home>/cli-home as the CLI home so the installation does not depend on, or modify, the agent user's ~/.harness. When version is left blank the installer queries the GitHub Releases API to determine the latest version tag, at most once an hour per controller.