Poll SCM for the latest account-app changes

This commit is contained in:
R. Tyler Croy 2016-12-28 14:12:29 -08:00
parent 0bf436efe0
commit fa04cf6aaa
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 4 additions and 5 deletions

9
Jenkinsfile vendored
View File

@ -2,11 +2,10 @@
def imageName = 'jenkinsciinfra/account-app'
/* Only keep the X most recent builds. */
properties([[$class: 'jenkins.model.BuildDiscarderProperty',
strategy: [$class: 'LogRotator',
numToKeepStr: '10',
artifactNumToKeepStr: '10']]])
properties([
buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5')),
pipelineTriggers([[$class:"SCMTrigger", scmpoll_spec:"H/15 * * * *"]]),
])
node('docker') {
stage('Build') {