Lab 5.4 - Managing Jenkins Disk Usage

1. Open the Jenkins dashboard and go to Manage Jenkins

2. Click Manage Plugins and select the Available tab

3. Select disk usage and then click install without restart

4. Wait for the end of the plugin’s installation

5. After the installation is complete, go to Manage Jenkins and click on Configure System

6. Go to the disk usage section configure with the following values:

  • Enable calculation of builds: 0 */1 * * *
  • Enable calculation of jobs: 0 */1 * * *
  • Enable calculation of workspace: 0 */6 * * *
  • Warn if some size is exceeded
    • Email: youremail@domain.id
    • Warn if build exceeds some size: 40GB
    • Warn if job exceeds some size: 40GB
  • Show disk usage trend graph on the project page: yes
  • Show free space of jobs directory in global graph: yes

Click Apply and then Save

7. Go to Disk Usage section on Jenkins dashboard

8. Now you can see the disk usage trend chart

Daftar Materi
  • CI and CD Fundamentals
  • Old Ways of Software Development
  • Agile Development Process
  • Agile Development Process Work?
  • Modern Development Philosophies
  • CI / CD
  • DevOps Culture
  • Git Overview
  • Git Basic Command
  • Lab 1.1 - Managing Repository Using Git
  • Jenkins Overview
  • Jenkins Overview
  • Jenkins Short History
  • Why Jenkins is popular
  • Jenkins Releases
  • Installing Jenkins
  • Topology and Lab Environment
  • Jenkins Admin Basics
  • Manage Jenkins Screens
  • The Jenkins Home Directory
  • Jenkins Workflow
  • Using Credentials
  • Configuring Credentials
  • Plugin Management
  • Advanced Jenkins Features
  • Working with SCM
  • Source Code Management (SCM)
  • A History of SCM
  • Advanced SCM
  • Modifying the Code
  • SCM Repository
  • Updating the Repository
  • SCM Terminology
  • Branch and Merge Strategies
  • Release Branching
  • Supported SCM Products
  • View The Changelogs
  • Incremental & Clean Check Out
  • Jenkins Jobs and Builds
  • What is Job?
  • Different Types of Jobs
  • Relationship Between Project
  • What is a Builds?
  • Builds Notifications
  • Polling
  • A Periodic Build Trigger
  • How Does Pushing Work
  • Lab 7.1 - First Job in Jenkins
  • Lab 7.2 - Scheduling a Job
  • Lab 7.3 - Maven Job
  • Lab 7.4 - Jenkins Email Notification
  • Lab 7.5 - Monitoring Jenkins Job
  • Code Quality and Code Coverage Metrics
  • Software Testing
  • Importance of Testing
  • Automated Testing
  • Categories of Testing
  • The Testing Portfolio
  • The Testing Pyramid
  • Code Coverage Metrics
  • Code Coverage Tools
  • Lab 8.1 - Testing Code Quality With JUnit
  • Lab 8.2 - Code Coverage using JaCoCo
  • Parameterized Builds
  • Build Parameter
  • Type Of Parameters
  • The Ways of Using Parameterized Builds
  • Configuring Parameterized Builds
  • Lab 9.1 - Parameterized Jobs
  • Lab 9.2 - Build Triggers and Steps
  • Pipeline
  • Pipeline
  • Scope of Pipeline
  • The Advantages of Pipeline
  • Jenkins Pipeline Sections
  • Scripted Pipeline
  • Declarative Pipeline
  • Tools for Working with Pipeline
  • Parallel Stages
  • Pipeline without Blue Ocean
  • Lab 10.1 - Go Jenkins Pipeline
  • Lab 10.2 - Docker Declarative Pipeline on Spesific Node
  • Lab 10.3 - Create a Simple Scripted Pipeline
  • Automated Deployments
  • Automate Jenkins
  • Jenkins CLI
  • Lab 11.1 - Multibranch Pipeline
  • Lab 11.2 - Configuring Jenkins to Connect to Kubernetes cluster
  • Validated Merge for GitHub
  • Overview - Validated Merge
  • Validated Merge Model
  • Access Control
  • Post-build Push Failure
  • Server Setup
  • Pull Request Builder for GitHub
  • Pull Requests
  • Commands
  • Configuring a Github Hook
  • Lab 13.1 - Integrate GitHub Webhook with Jenkins
  • Lab 13.2 - GitHub Pull Request Builder
  • Templates
  • The Jenkins Template Engine
  • Benefits of the Templating Engine
  • Implementing the Template
  • Lab 14.1 - Templating Engine Basic
  • Lab 14.2 - Templating Engine using SCM