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
Keep the plugin list up to date when building the Docker image #45
Comments
So In the future, if anything breaks because of an update in the plugins, We'll be able to track back which plugin was last updated and broke things, right? |
I'm not so sure that's the case unless we commit and push as soon as the plugin list changes... |
Okaay, I understand now |
I disagree with this a bit. I think it will introduce some breaking plugins. Except, if updated to a minor version. Am I right? Or, do you recommend taking the plugins.txt after building the image? |
You can always introduce breaking changes when updating plugins without thoroughly reviewing the changelogs. I understand that this is a matter of preference and open to discussion. The infra team does it this way: |
@MarkEWaite proposed an up-to-date plugin list for the second example in #96. |
That looks much better suited to the automation needs of the project than my interactive scripts. Nicely done! |
Thanks a lot, Mark, I do appreciate it. 🤗 |
As per today's meeting, the update could happen within the existing testing GitHub Action, or in a Jenkinsfile, or even thanks to |
For the time being, we're calling
RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt
when building the image.What about adding options, so we get an updated list of plugins before installing them?
jenkins-plugin-cli --plugin-file /usr/share/jenkins/plugins.txt --no-download --available-updates --output txt
That would give something like:
@ash-sxn @berviantoleo @jmMeessen what do you think about that?
The text was updated successfully, but these errors were encountered: