Bug 1393284 - [dev-preview-int]Jenkins pipeline template jenkins-ephemeral not found on dev-preview-int
Summary: [dev-preview-int]Jenkins pipeline template jenkins-ephemeral not found on dev...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Vu Dinh
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 09:24 UTC by Li Zhe
Modified: 2017-02-16 22:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-16 22:13:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

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!


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