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

jenkins/jenkinsfile-runner Docker Image can't evaluate Jenkins version #423

Open
novettaberin opened this issue Nov 20, 2020 · 3 comments
Open
Labels
bug Something isn't working

Comments

@novettaberin
Copy link

The Plugin Installation Manager Plugin that is part of the Docker image first attempts to check the version of the Jenkins war file so that it can find the latest compatible dependency for Jenkins Core and the plugins you are specifying.

The net result is that the Plugin Installation Manager Plugin assumes that the version of Jenkins is the most recent, which is not the case for the docker image. The problem that makes is that when I try to create my own Image with the plugins I need installed I get a problem with the workflow-basic-steps plugin. The install manager errors out saying that I need version 2.23 of that plugin, which is incompatible with the version of Jenkins in the jenkins/jenkinsfile-runner Docker Image.

Please fix the issue preventing that plugin from detecting the version of Jenkins in the docker image. Also, if possible, specify what version that should be.

@oleg-nenashev oleg-nenashev added the bug Something isn't working label Nov 20, 2020
@oleg-nenashev
Copy link
Member

Yes, this is a legitimate defect. I was about fixing it in #324 by replacing the plugin manager by an embedded version, but I have not done it yet. I will see whether I could add an alternate solution

@oleg-nenashev
Copy link
Member

jenkinsci/plugin-installation-manager-tool#232 for the enhancement on the Plugin Installation Manager side that makes it possible

@oleg-nenashev
Copy link
Member

@bericoberin I added the new Plugin Installation Manager version in the latest images (part of #449 ).
Now you can use the version parameter to ensure the versions are considered.
It would be great to automate detecting a proper version, but it requires a few extra patches.

@oleg-nenashev oleg-nenashev removed their assignment Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants