Jenkins script "install-plugins.sh" fails due to missing plugins

Solution Verified - Updated -

Issue

  • When using the registry.redhat.io/openshift4/ose-jenkins:v4.10 image and running the /usr/local/bin/install-plugins.sh command, it fails with a "Plugin not found" error:

    STEP 3/3: RUN /usr/local/bin/install-plugins.sh /opt/openshift/my-plugins.txt
    [..]
    Downloading plugins...
    [..]
    Installed plugins:
    [..]
    Verifying Locked Plugins in Bundle...
    Missing nexus-jenkins
    Missing slack
    Missing ssh-agent
    
    Some errors were encountered!
    Plugin nexus-jenkins not found in /opt/openshift/plugins/bundle-plugins.txt
    Plugin slack not found in /opt/openshift/plugins/bundle-plugins.txt
    Plugin ssh-agent not found in /opt/openshift/plugins/bundle-plugins.txt
    Error: building at STEP "RUN /usr/local/bin/install-plugins.sh /opt/openshift/my-plugins.txt": while running runtime: exit status 1
    

Environment

  • Jenkins image registry.redhat.io/openshift4/ose-jenkins:v4.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content