diff --git a/Jenkinsfile b/Jenkinsfile index 170100f..902fb9f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -69,8 +69,8 @@ spec: disableConcurrentBuilds() } triggers { - // Webhook-friendly; Jenkins' /git/notifyCommit can trigger this without polling. - scm('') + // Webhook-friendly; notifyCommit works when pollSCM is defined (even empty string). + pollSCM('') } stages { stage('Checkout') {