diff --git a/Jenkinsfile b/Jenkinsfile index 902fb9f..6cbfa12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {