Jenkins pipeline does not start right after clicking the button

Solution Verified - Updated -

Issue

  • When clicking the start pipeline button on the openshift console to run the pipeline and start the build process, it takes 2 to 5 minutes before it actually starts.
  • Reproducible steps
# oc new-project dev --display-name="Tasks - Dev"
# oc new-project stage --display-name="Tasks - Stage"
# oc new-project cicd --display-name="CI/CD"
# oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n dev
# oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n stage
# git clone https://github.com/OpenShiftDemos/openshift-cd-demo.git
# cd openshift-cd-demo/
# oc create -f cicd-template.yaml 
# oc new-app --template=cicd
  • Click on start pipeline button in the namespace where the pipeline is defined and record the time taken by it to initiate builds.

Environment

  • Openshift Container Platform
    • 3.7

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