Skip to content

Instantly share code, notes, and snippets.

View legege's full-sized avatar

Georges-Etienne Legendre legege

View GitHub Profile
@legege
legege / jenkins-job-dsl.groovy
Last active September 25, 2018 16:53 — forked from stuartstevenson/jenkins-job-dsl.groovy
Jenkins Job DSL with distributed job config files on GitLab. The seed.groovy file scans GitLab for all your projects for .jenkins-ci.groovy files and runs them centrally.
mavenJob("${name}") {
goals('clean install findbugs:findbugs pmd:pmd cobertura:cobertura')
logRotator {
numToKeep(5)
artifactNumToKeep(1)
}
scm {
git {