shn

Configure a Shell Pipeline Node

A convenience wrapper around node() with runtime = "sh". Use shn() inside a pipeline { ... } block to run POSIX shell commands or .sh scripts, and optionally set shell = "bash" when Bash parsing is required.

Parameters

Returns

A pipeline node configuration object. Must be used as a named binding inside a pipeline { ... } block; the shell command is executed by the pipeline builder, not immediately.

See Also

pyn, rn, node