Class HarnessGlobalConfiguration

All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, Loadable, OnMaster

@Extension @Symbol("harnessCliConfig") public class HarnessGlobalConfiguration extends GlobalConfiguration
Global Jenkins configuration for the Harness CLI plugin. Appears under Manage Jenkins → Configure System → Harness CLI Configuration.

These credentials are passed to every harness process started by the HarnessStep pipeline step and the Freestyle build step (see HarnessCliSupport), so individual pipeline steps do not need to handle authentication themselves.

TODO: Open Manage Jenkins → Configure System and fill in:

  • API URL — Harness API endpoint (default: https://app.harness.io)
  • API Token — a Harness personal access token, service account token or scoped token (mandatory)
  • Org ID — Harness organisation ID (optional)
  • Project ID — Harness project ID (optional)