Class HarnessCliBuilder

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep

public class HarnessCliBuilder extends Builder
Build step for running Harness CLI (harness) commands in Freestyle jobs.

Mirrors what the harness(...) Pipeline step does for Declarative/Scripted pipelines, authenticating with the credentials from Manage Jenkins → System → Harness CLI Configuration.

Example commands:

   version
   push artifact:rpm my-repo /path/to/file.rpm
   auth status