Jenkins plugin manager rejects plugins.txt.override file
See original GitHub issueWe switched from install-plugins.sh
to jenkins-plugin-manager
in our Dockerfile and noticed that it doesn’t support specifying the plugins.txt.override
file as a parameter.
$ java -jar /usr/lib/jenkins-plugin-manager.jar -f /usr/share/jenkins/ref/plugins.txt.override
Unknown file type, file must have .yaml/.yml or .txt extension
We worked around the issue like this for the time being:
$ java -jar /usr/lib/jenkins-plugin-manager.jar -p $(< /usr/share/jenkins/ref/plugins.txt.override)
I think it would still make sense to allow .override
files in this case…
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Manage Jenkins Plugins Entirely with install-plugins.sh ...
txt file, performs two things: Adds a new plugin if it's present in plugins.txt and doesn't exist on the container. Upgrades a plugin...
Read more >Jenkins version from 2.319.2 to 2.319.3 failed to load plugins
Hello, We are trying to run Jenkins with IS -Jenkins blueocean@sha256:9d6ebd661a2fdb0b9ab465c7ebf86141487845ca69893fa4953a33cca505414bq that ...
Read more >Jenkins 2 override plugins.txt - Stack Overflow
I was using docker to create and run Jenkins. And in order to configure as immutable jenkins, we used to copy all xml...
Read more >Hosting Plugins - Jenkins
We encourage plugin developers to host their plugins in the Jenkins community repositories on GitHub. This makes it easier for the community to ......
Read more >How To Automate Jenkins Setup with Docker ... - DigitalOcean
JCasC makes use of the Configuration as Code plugin, which allows you to ... First, using your editor, create a new file named...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This paragraph is misplaced under https://github.com/jenkinsci/docker/#plugin-installation-manager-cli-preview which indeed has nothing to do with the plugins.txt file.
.override
is only for config files not installing plugins