Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1609671

Summary: [admin] Incorrect status icon for canceled JenkinsPipeline build
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas, spadgett, yapei
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 20:51:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
JenkinsPipelineStatusIcon none

Description Yadan Pei 2018-07-30 07:28:43 UTC
Description of problem:
For JenkinsPipeline build, a status icon will be shown in table indicating the build status, but when a JenkinsPipeline build is canceled it still show running  icon.

Version-Release number of selected component (if applicable):
registry.reg-aws.openshift.com:443/openshift3/ose-console                   v3.11               7afc9cdb911ba       283MB
openshift v3.11.0-0.10.0


How reproducible:
Always

Steps to Reproduce:
1.Create JenkinsPipeline BC and trigger builds
$ oc new-app -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/pipeline/samplepipeline.yaml
$ oc start-build sample-pipeline
2.Cancel the build
$ oc cancel-build sample-pipeline-1 
3.Go to Builds page builds/sample-pipeline-1, check the details

Actual results:
3. Build STATUS is shown as "Cancelled" but the status icon shows a running circle

Expected results:
3. Should use "cancelled" icon

Additional info:

Comment 1 Yadan Pei 2018-07-30 07:57:40 UTC
Created attachment 1471439 [details]
JenkinsPipelineStatusIcon

Comment 2 Samuel Padgett 2019-06-04 20:51:37 UTC
This was previously fixed in https://github.com/openshift/console/pull/1294