Class to manage a list of jobs that share some configuration. See the field descriptions for configuration options. For usage details see the examples and the plugin documentation.
| Type | Name and description |
|---|---|
java.util.List<java.lang.String> |
baseFoldersThese folders will be prepended to the folders configured in the jobs. |
groovy.lang.Closure |
commonDslClosures added to this list will be added to the list of Job DSL closures of each job builder. |
java.util.Map<java.lang.String, java.lang.Object> |
defaultConfigurationFor each key/value pair from this map PipelineBuilder will look for a field in each job builder matching the key and set it to the configured value. |
java.util.List<PipelineJobBuilder> |
jobBuildersList of jobs that are built when calling PipelineBuilder.build. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addJob(PipelineJobBuilder jobBuilder) |
|
void |
baseFolders(java.util.List<java.lang.String> baseFolders) |
|
void |
build() |
|
void |
commonDsl(groovy.lang.Closure commonDsl) |
|
void |
defaultConfiguration(java.util.Map<java.lang.String, java.lang.Object> defaultConfiguration) |
| 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() |
These folders will be prepended to the folders configured in the jobs.
Closures added to this list will be added to the list of Job DSL closures of each job builder.
For each key/value pair from this map PipelineBuilder will look for a field in each job builder matching the key and set it to the configured value. If no such field exists the value will be ignored.
List of jobs that are built when calling PipelineBuilder.build. The configuration of this builder is applied to all jobs only when PipelineBuilder.build is called.