Jenkins Build Timeout Configuration Guide
You can set the build timeout in Jenkins by following these steps:
- Open the administration interface of Jenkins, and then select “System Management” from the left-hand sidebar.
- Navigate to the “System Settings” option in the system management page and click to enter.
- Scroll down in the system settings page to locate the “timeout policy” option.
- In the timeout policy options, you can set the build timeout. Select the “Build Timeout” option, then enter the desired timeout time in minutes.
- After setting up, click the “Save” button at the bottom of the page to store the settings.
By following the above steps, you can successfully set the timeout for builds in Jenkins. If a build exceeds the set timeout, Jenkins will automatically terminate the build job.