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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content