Bug 1571746 - Jenkins Plug-ins are missing in persistent-template application
Summary: Jenkins Plug-ins are missing in persistent-template application
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.10.0
Assignee: Gabe Montero
QA Contact: Wenjing Zheng
Depends On:
TreeView+ depends on / blocked
Reported: 2018-04-25 10:56 UTC by Rutvik
Modified: 2018-04-25 20:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-04-25 20:34:07 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Rutvik 2018-04-25 10:56:31 UTC
Description of problem:

- The Jenkins latest image "registry.access.redhat.com/openshift3/jenkins-2-rhel7" is being used with the Jenkin-persistent application.

- Jenkins is able to read the Jenkinsfile, but does not recognise the 
  'pipeline' DSL function.

- Few plugins were already missing in the Jenkins image such as:
  * OpenShift Client
  * job-dsl
  * Simple Build DSL for Pipeline
  * Job DSL
  * Git client
  * pipeline-model-declarative-agent
  * pipeline-model-extensions
  * pipeline-model-api
  * pipeline-model-definition

- After installing these plugins manually, pipeline executed without any trouble.

Comment 3 Gabe Montero 2018-04-25 20:34:07 UTC
Ah, if they are using the "latest" tag for registry.access.redhat.com/openshift3/jenkins-2-rhel7 you actually get the 3.6 image.

See http://post-office.corp.redhat.com/archives/openshift-sme/2017-December/msg00354.html

Those plugins specifically were not added until 3.7

The customer needs to import the 3.7 tag from registry.access.redhat.com into ther e image stream.

There were imagestream/template updates as well to make sure they pointed to the 3.7 tag ... Ben - those went into a 3.7 errata, no?

I also believe Eric Rich put out a more official support post on the latest tag pointing to 3.6, etc., but I can't find the link right now (I could only find the ones about the bad errata image a few weeks back).  I've cc:ed him in case I'm correct and he can find it.

Comment 4 Ben Parees 2018-04-25 20:39:22 UTC
>  Ben - those went into a 3.7 errata, no?

yes the corrected jenkins imagestreams were part of a 3.7.z errata.

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