Configure system is the place where initial settings can be done, and it is useful. You can configure SMTP server details, SonarQube server details, environment variables, and so on.
Configuring global settings in Jenkins
Getting ready
To configure global settings and paths, we need to go to Configure System in the Jenkins dashboard.
How to do it...
- Go to the Jenkins dashboard.
- Click on Manage Jenkins.
- Click on Configure System.
- Verify the Home directory available:
- In the Configure System page, we can define Environment variables too so that it can be used during the execution of build jobs.
- For example, we can configure the ANDROID SDK path in Environment variables in order to set Continuous Integration for Android Apps.
- Another important configuration available on the same page is Jenkins Location. You can specify the HTTP address of the Jenkins installation, as Jenkins cannot reliably detect such a Jenkins URL from within itself:
There's more...
There are some important configurations that you need to do here in the Configure System section, such as SCM Polling, E-mail Notification, Extended E-mail Notification, Git plugin, Disk usage, Quality Gates - SonarQube, Build Pipeline Plugin, Copyartifact: Upstream build that triggered this job, Audit Trail, SonarQube servers, and so on.