What is the Jenkins plugin system and what are its risks?

IntermediateConceptJenkins
Answer

Almost all Jenkins functionality comes from plugins (.hpi files in JENKINS_HOME/plugins), installed via the Plugin Manager or jenkins-plugin-cli. Plugins can add steps, UI, credentials providers and cloud integrations.

The risks are security vulnerabilities (Jenkins publishes advisories regularly), compatibility breaks between core and plugin versions, and abandoned plugins. We pin plugin versions in a plugins.txt, test upgrades on a staging controller, and remove unused plugins.

jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt
# plugins.txt:  workflow-aggregator:latest  git:5.7.0  kubernetes:4358.v...
All CI/CD questions

More on Jenkins