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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.