Jenkins Pipeline job triggering every 5 minutes automatically in Openshift

Solution Verified - Updated -

Issue

  • Why does the Jenkins Pipeline run every 5 minutes automatically as per pollSCM configuration even if there are no new commits made in SCM?
  • Is the below configuration correct to configure pollSCM as part of JenkinsFile?
properties([
        pipelineTriggers([
            pollSCM('H/5 * * * *')
        ])
      ])

Environment

  • Red Hat Openshift Container Platform
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In