Bug 1370079 - Jenkinsfile content is empty and Rebuild button is disabled for Jenkins Pipeline builds
Summary: Jenkinsfile content is empty and Rebuild button is disabled for Jenkins Pipel...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-25 09:13 UTC by Yadan Pei
Modified: 2016-09-19 13:51 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
EmptyJenkinsfile (38.57 KB, image/png)
2016-08-25 09:14 UTC, Yadan Pei
no flags Details

Description Yadan Pei 2016-08-25 09:13:53 UTC
Description of problem:
Jenkinsfile content is empty and Rebuild button is disabled for Jenkins Pipeline builds 

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

How reproducible:
Always

Steps to Reproduce:
1. Preparation
$ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/image-streams/image-streams-centos7.json -n openshift
$ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json
2. Create jenkinsPipeLine bc and start build
$ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json
$ oc new-app jenkins-ephemeral
$ oc start-build sample-pipeline 
3. When build sample-pipeline-1 is started, check its configuration on browse/pipeline/sample-pipeline/sample-pipeline-1 page
4. When build sample-pipeline-1 is finished, check again on browse/pipeline/sample-pipeline/sample-pipeline-1 page

Actual results:
3. In Configuration part, title 'Jenkinsfile' is listed but its empty(refer to attachment)
4. Rebuild button is disabled


Expected results:
3. For build sample-pipeline-1, should populate 'Jenkinsfile' with the same content for BC 'sample-pipeline' like attachment "snapshot2" shows in https://bugzilla.redhat.com/show_bug.cgi?id=1357752
4. Rebuild should be enabled 

Additional info:

Comment 1 Yadan Pei 2016-08-25 09:14:25 UTC
Created attachment 1193931 [details]
EmptyJenkinsfile

Comment 2 Jessica Forrester 2016-08-25 13:40:03 UTC
web console PR https://github.com/openshift/origin-web-console/pull/479

Comment 3 Jessica Forrester 2016-08-25 19:22:49 UTC
merging to origin in https://github.com/openshift/origin/pull/10650

Comment 4 Yadan Pei 2016-08-26 05:30:25 UTC
Will check when PR is merged

Comment 5 Yadan Pei 2016-08-29 03:10:50 UTC
Checked against devenv-rhel7_4943:

openshift v1.3.0-alpha.3+4250e53
kubernetes v1.3.0+507d3a7
etcd 2.3.0+git


Now for  build sample-pipeline-1, Jenkinsfile is populated correctly, and Rebuild button is enabled when sample-pipeline-1 finished

Move to VERIFIED


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