Extension step definitions must be stored in a subdirectory path of the form: steps/<namespace>/<stepTypeName>
.
namespace
is the namespace for the set of extension sets. This parent subdirectory may contain multiple step definition subdirectories.stepTypeName
is the namedtype
of the step. Must be alphabetic characters only, and is case-sensitive.
The subdirectory can hold the following files to define the step:
File | Description | Required/Optional |
---|---|---|
| Syntax model for the step. | Required |
and/or
| Shell script to be executed in the |
|
| ||
and/or
| Shell script to be executed in the | Optional |
and/or
| Shell script to be executed in the | Optional |
and/or
| Shell script to be executed in the | Optional |
| Documentation for the extension step | Optional |
| Icon graphic to represent the step type in the interactive diagram. If not provided, Pipelines will use the default icon for the step. | Optional |
Extension step definitions are loaded from the source repository when it is configured in the Pipelines UI as an extension source.
Note
For information on administering extension sources and extension version lifecycle staging, see Managing Pipelines Extensions.