openshift/jenkins

Can't install custom list of Plugins with jenkins-plugin-cli

Opened this issue · 2 comments

Hi, I am trying to add my own list of plugins in the image registry.redhat.io/ocp-tools-4/jenkins-rhel8:v4.14.0.

The way that would be easiest for me is as follows:

  1. create a new BuildConfig in Openshift
  2. stategy docker with inline dockerfile
  3. make the Plugins.txt available to the build via a ConfigMap
  4. install the plugins via the command RUN jenkins-plugin-cli -f path/plugins.txt

When using registry.redhat.io/ocp-tools-4/jenkins-rhel8:v4.14.0 as BaseImage I get the error that the command jenkins-plugin-cli is not found.

What is the best way to reach my target image within Openshift?

The container also requires a special version of Firefox. I would also like to install this in the Dockerfile. Is there anything against this?

Many thanks!

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale