Poll SCM every 2m for Jenkins

This commit is contained in:
Brad Stein 2025-12-18 02:23:39 -03:00
parent 2eca0f490f
commit 1f287ad0f6

4
Jenkinsfile vendored
View File

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