Skip to content

Chapter 6 of 10

Plugins and Extensions

Manage Jenkins capabilities, dependencies, compatibility, and upgrades with discipline.

34 minutes 10 quick checksBy Subha Prasad
Lesson 6 of 10Course navigation

Lesson content

Read, practise, then check your understanding

Plugins and Extensions

Plugins provide source-control integrations, credentials providers, agents, pipeline steps, reports, authentication, and UI features. This extensibility is powerful, but plugins execute inside Jenkins and form part of its security and availability boundary.

Core ideas

  • Plugins can depend on other plugins and minimum Jenkins core versions.
  • The update center publishes metadata and available versions; production access may use an internal mirror.
  • A disabled plugin remains installed but inactive; uninstalling may leave configuration that referenced it.
  • A plugin bill of materials and configuration backup make incidents and upgrades easier to manage.

How it works

Begin with the smallest supported plugin set. Record purpose and owner, review health and security notices, and remove abandoned dependencies. Upgrade in a test controller using a copy of representative configuration, then validate authentication, agents, critical pipelines, and rollback.

Configuration example

# List installed plugins with versions via Jenkins CLI
java -jar jenkins-cli.jar -s https://jenkins.example.com/ \
  -auth "$JENKINS_USER:$JENKINS_TOKEN" list-plugins

# Compare this inventory with an approved, version-controlled baseline

The sample is intentionally small. In a real installation, replace hostnames, labels, credentials, retention, and commands with reviewed values from your own platform standards.

Production guidance

  • Do not install plugins directly in production merely to experiment.
  • Back up before upgrades and preserve a compatible core/plugin rollback plan.
  • Prefer built-in Pipeline capabilities or maintained plugins over overlapping extensions with unclear ownership.

The chapter quiz follows this lesson and tests both terminology and safe operating choices.

Knowledge check

Answer every question correctly to complete this chapter.

Which statement correctly describes plugin?
Which term matches this explanation: An installable extension adding integrations or Jenkins capabilities.
Which statement correctly describes plugin dependency?
Which term matches this explanation: Another plugin and compatible version required by an installed plugin.
Which statement correctly describes update center?
Which term matches this explanation: The service and metadata Jenkins uses to discover plugin updates.
Which statement correctly describes compatibility review?
Which term matches this explanation: Checking Jenkins core, Java, dependency, and plugin support before upgrading.
Which statement correctly describes minimal plugin set?
Which term matches this explanation: Installing only maintained extensions that serve a clear operational need.

0 of 10 checks passed

Your progress is saved on this device.