The basic PipelineJob builder
stages
- list of maps describing the stages; see example linked below for the shape of the mapname
- job namesandboxFlag,
- boolean to enable/disable sandbox, default true.description
- job descriptionpipelineScript
- optional string containing the raw pipeline script (use instead of `stages`)pollScmSchedule
- optional string in cron format to trigger builds on a scheduled intervalType | Name and description |
---|---|
java.lang.String |
description |
java.lang.String |
name |
java.lang.String |
pipelineScript |
java.lang.String |
pollScmSchedule |
java.lang.Boolean |
sandboxFlag |
java.util.List |
stages |
Type Params | Return Type | Name and description |
---|---|---|
|
javaposse.jobdsl.dsl.Job |
build(javaposse.jobdsl.dsl.DslFactory factory) @param DSL factory class, provided by Jenkins when executed from build context |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |