How to send alert when the queue is building upAnswered
Currently we are facing issue with Jenkins slaves sometimes slave goes offline and will not available for the next builds, so the queue builds up continuously.
Could you please help me if there is any plugin or script that we can use or write to alert us when the queue is building up.
In CloudBees Core, you can simply create an Alert with the CloudBees Monitoring plugin based on the metric
In Jenkins itself, you could use the Metrics API of the Metrics Plugin, same metric
jenkins.queue.size.valueand create a task that periodically check on the queue size.
Hi. It appears that you have a Support ticket open for this as well for which the response was the following. I hope this helps. If you can follow up with that support ticket it would be appreciated. Thanks!
I understand you are experiencing issues with Jenkins Agents disconnecting, which leads to the queue building up. Depending on whether you are using JNLP or SSH, the following articles will be incredibly useful to you in diagnosing this issue:
Could you please provide us with a Support Bundle to get more acquainted with your system so we can provide the most relevant guidance? You can refer to this document if you need any help: What is a support-bundle and how to create one.
If your archive is larger than 20Mb please use this service to send it to us. This service works best in Chrome or Firefox.0
Please sign in to leave a comment.