Skip to content

Pipeline extensions

Damien Coraboeuf edited this page Jun 13, 2016 · 5 revisions

By default, the generated branch seed job just creates the branch pipeline.

In some contexts, some additional steps might need to be added in order to perform some additional Migration of web hooks for the branch.

Note that the preferred way to perform such actions is to make them part of the pipeline definition.

Configuration

The list of pipeline extensions is defined using the Extra DSL for pipeline generation parameter. It defines a Jenkins Job DSL snippet which will be injected in the generated project seed job.

Example

Pipeline extension

Remember that SEED_PROJECT, SEED_BRANCH and BRANCH are injected as environment variables in the branch seed job.

See also

Clone this wiki locally