Bug 1481010 - Jenkins server image, declarative pipeline fails due to missing plugin
Jenkins server image, declarative pipeline fails due to missing plugin
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Corey Daley
Dongbo Yan
Depends On:
  Show dependency treegraph
Reported: 2017-08-13 09:13 EDT by Noel OConnor
Modified: 2017-08-13 10:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Noel OConnor 2017-08-13 09:13:38 EDT
Description of problem:
I've just installed OCP 3.6 and I'm trying to run a very basic declarative jenkins pipleline. I'm hitting this issue [0]  due to a missing plugin "Pipeline: Model Definition". Once added the pipeline works as expected.

[0] https://issues.jenkins-ci.org/browse/JENKINS-42620

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

I'm using the following jenkins image registry.access.redhat.com/openshift3/jenkins-2-rhel7@sha256:4647a54e7a4bba9f1ca3db364ae235b5e75a46e7d81f77152e0eef88de7ba440

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
The pipeline is as follows:

pipeline {
    agent any

    post {
      failure {
        updateGitlabCommitStatus name: 'build', state: 'failed'
      success {
        acceptGitLabMR mergeCommitMessage: 'Accepted by Jenkins CI'


    stage('setup') {
        sh 'env'
        println 'Before git'
        git url: env.gitlabSourceRepoHttpUrl

        println "${env.gitlabSourceNamespace}/${env.gitlabSourceBranch}"
        sh 'git branch -vv'
        println "Looking to merge ${env.gitlabSourceBranch} from ${env.gitlabSourceNamespace} into ${env.gitlabTargetBranch} from ${env.gitlabTargetNamespace}"

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