Set up the Docker 'official' Pipeline to execute weekly
References JENKINS-39804
This commit is contained in:
parent
d57bb210c7
commit
f05bcfef83
|
@ -1,7 +1,9 @@
|
|||
#!groovy
|
||||
|
||||
/* Only keep the 10 most recent builds. */
|
||||
properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', numToKeepStr: '10']]])
|
||||
properties([
|
||||
buildDiscarder(logRotator(numToKeepStr: '10')),
|
||||
pipelineTriggers([cron('@weekly')]),
|
||||
])
|
||||
|
||||
node('docker') {
|
||||
stage('Checkout') {
|
||||
|
|
Loading…
Reference in New Issue