⬡ Hub
Skip to content

Jenkins Day-to-Day Operational Tasks

1. Monitoring Builds

  • Build Queue: Check if builds are stuck in the queue. This might indicate a lack of available executors or agents.
  • Console Output: Analyze the "Console Output" of failed builds to identify the root cause (e.g., compilation error, test failure, timeout).

2. Managing Plugins

  • Updates: Go to "Manage Jenkins" -> "Plugins". Check for available updates.
    • Caution: Always read the release notes. Update plugins in a test environment first if possible.
  • Security Warnings: Pay attention to security warnings for installed plugins and update them promptly.

3. Disk Space Management

  • Workspace Cleanup: Jenkins workspaces can grow very large. Use the "Workspace Cleanup Plugin" to delete the workspace after a build finishes.
  • Build History: Configure "Discard old builds" in job settings to keep only the last N builds or builds from the last N days.

4. Agent Management

  • Node Status: Go to "Manage Jenkins" -> "Nodes". Ensure all agents are "In Sync" and online.
  • Disk Space on Agents: Monitor disk space on agent machines, especially if they are running Docker builds which consume a lot of space.

5. Script Approval

  • In-Process Script Approval: If you are using Groovy scripts in pipelines (that are not in a Shared Library), you might need to manually approve certain method calls in "Manage Jenkins" -> "In-process Script Approval".