The hanging Job build event is thrown when a Bamboo determines that a Job's build has become unresponsive according to two criteria:
The 'Expected Build Time' and 'Log Quiet Time' must both be exceeded for Bamboo to throw a hanging Job build event. This event is currently used by Bamboo to send notifications. |
Configure the Hanging Job Build Event
You can change the criteria governing when a hanging Job build event is thrown. You can also disable build monitoring altogether so that the hanging Job build event never occurs.
Note, the hanging Job build criteria can be also be set for a specific Job, when specifying a Job's builder. Job-level criteria will override the global criteria described on this page (including disabling this event).
To edit the hanging Job build event settings:
- Click the 'Administration' link in the top navigation bar.
- Click the 'Build Monitoring' link in the left navigation column. The Build Monitoring page will be displayed.
- Click the 'Edit' button and the Default Build Monitoring Criteria section of the Build Monitoring page will now be editable (see screenshot below). Update the values for the 'Build Time Multiplier' and 'Log Quiet Time' fields as desired.
- Click the 'Save' button to update your settings.
Screenshot above: Editing the hanging Job build event settings
Disabling the Hanging Build Event
You can disable the hanging Job Build event by disabling build monitoring for your Bamboo installation. See Disabling Build Monitoring.
Note, you cannot disable the hanging Job build event without disabling all build monitoring features for your Bamboo installation.
Changing How Often Bamboo Checks for Hung Job Builds
By default, Bamboo will check whether a hanging Job build event has been thrown every 60 seconds. You can change this by configuring the system property, bamboo.buildHangingMonitor.checkInterval
. (This property is specified in seconds.)
Please read the Configuring System Properties page for instructions on how to configure the bamboo.buildHangingMonitor.checkInterval
system property.
Notes
Related Topics
Configuring Notifications for a Plan and its Jobs
Configuring the Job Build Queue Timeout Event
Disabling Build Monitoring
Configuring Tasks