Poll SCM every 2m for Jenkins
This commit is contained in:
parent
2eca0f490f
commit
1f287ad0f6
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -69,8 +69,8 @@ spec:
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
triggers {
|
||||
// Webhook-friendly; notifyCommit works when pollSCM is defined (even empty string).
|
||||
pollSCM('')
|
||||
// Poll every 2 minutes; notifyCommit can also trigger, but polling keeps it moving without webhook tokens.
|
||||
pollSCM('H/2 * * * *')
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user