DSL to configure the project for the JobDslPlugin
| Type | Name and description |
|---|---|
java.lang.Boolean |
addRepositoriesShould default repositories be added? |
java.util.List |
resourceDirsAdditional resources that must be available when the DSL scripts execute but are not DSL scripts themselves (e.g. configuration, files for jobs) Default: [] |
java.util.List |
sourceDirsThe source dirs containing the DSL scripts. |
java.lang.String |
versionVersion of the Job DSL core library to use - should be the same as the version of the Job DSL plugin installed in Jenkins for running the DSL scripts. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List<java.lang.String> |
getAllDirs() |
|
void |
resourceDir(java.lang.String dir) |
|
void |
sourceDir(java.lang.String dir) |
|
void |
version(java.lang.String version) |
| 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() |
Should default repositories be added? Currently jcenter() and jenkins-release repo are added which should be sufficient for resolving all dependencies that are needed for the features of this plugin. Set to false to add own repos or proxies.
Additional resources that must be available when the DSL scripts execute but are not DSL scripts themselves (e.g. configuration, files for jobs) Default: []
The source dirs containing the DSL scripts. Default: []
Version of the Job DSL core library to use - should be the same as the version of the Job DSL plugin installed in Jenkins for running the DSL scripts. Default is the version the plugin was built with.