Jenkins Plugins
Any Builder and Publisher can be specified with ClassName and setter options
eg:
plugins:
- CheckStylePublisher: # https://github.com/jenkinsci/checkstyle-plugin/blob/master/src/main/java/hudson/plugins/checkstyle/CheckStylePublisher.java
pattern: 'checkstyle/*.xml' #https://github.com/jenkinsci/checkstyle-plugin/blob/master/src/main/java/hudson/plugins/checkstyle/CheckStylePublisher.java#L65
Built-In Plugins
Plugins that are bundled with DotCi.
downstream_job
plugins:
- downstream_job:
on_result: <SUCCESS|UNSTABLE|FAILURE|NOT_BUILT|ABORTED> # From hudson.model.Result static types
groupon/DotCi: # Repo
k1: 'v1' #param k1
k2: 'v2' #param k2
This triggers the job for the repo groupon/DotCi
when the current job's
result matches the value of on_result
, which comes from
hudson.model.Result
.
The hash that is the key groupon/DotCi
's value are passed into the downstream job as its parameterized values ( these don't necessarily have to be predefined in the target job).
Starter-Pack Plugins
There are optional set of plugins that are available if you install DotCi-Plugins-Starter-Pack from update center.
review_line_comments
plugins:
- review_line_comments
Collects output from Analysis Collector Plugin and Cobertura Plugin and converts them into line comments on github Pull Requests.