Jenkins pipeline does not start right after clicking the button
Issue
- When clicking the
start pipeline
button on theopenshift console
to run thepipeline
and start thebuild
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 thenamespace
where thepipeline
is 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, tools, and much more.