Loading

Quipoin Menu

Learn • Practice • Grow

jenkins / Managing Jenkins
tutorial

Managing Jenkins

After installing Jenkins, you need to know how to manage it – install plugins, secure it, and perform basic administration tasks.

Installing Plugins

Plugins add functionality. To install:
1. Go to "Manage Jenkins" → "Plugins" → "Available".
2. Search for a plugin (e.g., "Git" or "Docker").
3. Check the box and click "Install without restart".

Common plugins to install:
  • Git – Integrate with Git repositories.
  • Pipeline – Enables Pipeline jobs (Declarative/Scripted).
  • Blue Ocean – Modern UI for pipelines.
  • Docker – Build and use Docker containers.

Securing Jenkins

By default, Jenkins allows anyone to do anything. You should enable security:
1. "Manage Jenkins" → "Security" → "Configure Global Security".
2. Check "Enable security".
3. Choose "Jenkins’ own user database" and "Logged-in users can do anything".
4. Create a new admin user if you haven't already.
5. Also consider using HTTPS and role‑based access control (Role Strategy plugin).

Managing Nodes (Agents)

To add a new agent:
1. "Manage Jenkins" → "Nodes" → "New Node".
2. Give it a name, select "Permanent Agent".
3. Set the remote root directory (e.g., /home/jenkins/agent).
4. Choose launch method (SSH or JNLP).
5. Provide host credentials.

Backup and Restore

The most important thing to back up is JENKINS_HOME. You can copy the entire directory. There are also plugins like "ThinBackup" for scheduled backups.

System Configuration

"Manage Jenkins" → "Configure System" contains global settings:
  • Jenkins URL (must be correct for external triggers).
  • Number of executors (parallel builds).
  • Environment variables.
  • Global tool configuration (JDK, Maven, Git).


Two Minute Drill
  • Install plugins via "Manage Jenkins" → "Plugins".
  • Enable security to control user access.
  • Add agents under "Manage Jenkins" → "Nodes".
  • Back up JENKINS_HOME regularly.
  • Configure global settings and tools in "Configure System".

Need more clarification?

Drop us an email at career@quipoinfotech.com