Jenkins pipeline does not start right after clicking the button
Issue
- When clicking the
start pipelinebutton on theopenshift consoleto run thepipelineand start thebuildprocess, 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 pipelinebutton in thenamespacewhere thepipelineis defined and record the time taken by it to initiatebuilds.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
