Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify No/Minimum Plugin Version #1277

Open
davmillar opened this issue Jan 10, 2025 · 1 comment
Open

Specify No/Minimum Plugin Version #1277

davmillar opened this issue Jan 10, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@davmillar
Copy link

Is your feature request related to a problem? Please describe

We routinely run into problems where we want to use the Helm charts to update Jenkins, but the configuration for plugins contains conflicts and we need to debug it on the fly. For example, our latest update attempt yielded errors like this:

Plugin git:5.7.0 depends on credentials:1405.vb_cda_74a_f8974, but there is an older version defined on the top level - credentials:1393.v6017143c1763,

I'm not sure if I missed this feature and it already exists, but it would be nice if we could specify that we want to install a certain minimum version -- e.g. credentials no less than 1393.v6017143c1763, but allow the deployment to install the required version needed for other plugins to run.

Describe the solution you'd like

Maybe something like credentials:>=1393.v6017143c1763 or credentials:^1393.v6017143c1763.

Describe alternatives you've considered

In the meantime I've removed credentials from our config so it uses whichever is suitable for the plugins depending on it.

Additional context

I've inherited this process/system with little documentation to work from, so I am also open to advice on why this should not be a feature and what I should be doing instead. :)

@davmillar davmillar added the enhancement New feature or request label Jan 10, 2025
@timja
Copy link
Member

timja commented Jan 10, 2025

Its recommended to build your own image and not rely on the base versions built-in to the helm chart:

https://github.com/jenkinsci/helm-charts/tree/main/charts/jenkins#consider-using-a-custom-image

Then you can use something like renovate or jenkins-plugin-cli to send pull requests to update your plugin versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants