Bug 1401453 - It is better to disable 'Start Pipeline/Build' button for pipeline when jenkins pod is not ready yet
Summary: It is better to disable 'Start Pipeline/Build' button for pipeline when jenki...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 10:13 UTC by Xingxing Xia
Modified: 2016-12-05 16:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-05 16:09:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xingxing Xia 2016-12-05 10:13:57 UTC
Description of problem:
It is better to disable 'Start Pipeline/Build' button for pipeline when jenkins pod is not ready yet. Otherwise, user may click 'Start Pipeline/Build' button in advance before it is ready to start a pipeline build, which may cause pipeline build exception such as https://bugzilla.redhat.com/show_bug.cgi?id=1366223 (addressed. Listed just as example of 'exception') or whatever.

Version-Release number of selected component (if applicable):
openshift v3.4.0.32

How reproducible:
Always

Steps to Reproduce:
1. Create a jenkinsPipelineStrategy bc
$ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json

2. Immediately check the 'Start Pipeline/Build' button for pipeline before jenkins pod is not ready yet on these pages:
https://<master>:8443/console/project/<project>/browse/pipelines
https://<master>:8443/console/project/<project>/browse/pipelines/sample-pipeline

Actual results:
2. 'Start Pipeline/Build' button is not disabled

Expected results:
2. 'Start Pipeline/Build' button is better to be disabled

Additional info:

Comment 1 Jessica Forrester 2016-12-05 16:09:55 UTC
starting a pipeline build before jenkins is ready should never be a problem.  If you are seeing issues with that then we need a bug opened against the build component to track that.  I disagree with waiting for Jenkins to be ready before letting them start the pipeline.


Note You need to log in before you can comment on or make changes to this bug.