Set up the Docker 'official' Pipeline to execute weekly (#697)

References JENKINS-39804
This commit is contained in:
R. Tyler Croy 2017-01-10 17:04:20 -08:00 committed by Michael Neale
parent bd44052dd3
commit bd7928e114
1 changed files with 4 additions and 2 deletions

View File

@ -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') {