Bug 1393284

Summary: [dev-preview-int]Jenkins pipeline template jenkins-ephemeral not found on dev-preview-int
Product: OpenShift Online Reporter: Li Zhe <zhezli>
Component: WebsiteAssignee: Vu Dinh <vdinh>
Status: CLOSED CURRENTRELEASE QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: abhgupta, aos-bugs, bingli, bparees, jokerman, mmccomas
Target Milestone: ---Keywords: TestBlocker
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: 2017-02-16 22:13:13 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:

Comment 1 Ben Parees 2016-11-09 13:57:48 UTC
step 1 is not necessary, it sounds like online has autoprovisioning enabled now, so you don't need to instantiate jenkins yourself.  Cesar will be replying w/ into about how online needs to be updated to make this work properly.

Comment 2 Cesar Wong 2016-11-09 13:59:05 UTC
The cluster configuration needs to be updated to use the template named "jenkins" (or whatever it is called in the online environment) instead of "jenkins-ephemeral". Instructions here: https://docs.openshift.org/latest/install_config/configuring_pipeline_execution.html

Comment 3 Abhishek Gupta 2016-11-21 18:56:40 UTC
Vu is working with Ops to get this addressed in the configuration.

Comment 4 Abhishek Gupta 2016-11-23 18:26:47 UTC
This is now configured in devpreview INT

Comment 5 Bing Li 2016-11-24 05:09:47 UTC
JenkinsPipeline build can be successfully triggered in INT.

Master config:
...
jenkinsPipelineConfig:
  templateName: jenkins-persistent
...

Create jenkinsPipeLine bc and start build:
$ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json

$ oc start-build sample-pipeline
build "sample-pipeline-1" started

$ oc get pod
NAME                             READY     STATUS      RESTARTS   AGE
jenkins-1-m4rlk                  1/1       Running     0          7m
mongodb-1-kmtoj                  1/1       Running     0          7m
nodejs-mongodb-example-1-build   0/1       Completed   0          2m
nodejs-mongodb-example-1-t1k8u   1/1       Running     0          50s

$ oc get build
NAME                       TYPE              FROM          STATUS     STARTED         DURATION
nodejs-mongodb-example-1   Source            Git@fb4415c   Complete   3 minutes ago   1m19s
sample-pipeline-1          JenkinsPipeline                 Complete   6 minutes ago   4m34s

Move to verified. Thanks!