How to implemented jenkins pagerduy plugin "Number of consecutive builds before triggering" in jenkins pipeline


Jietu20200418-120627

Hey Chao,

The Number of consecutive builds before triggering field can be leveraged to set a threshold of how many builds may need to fail, before an incident is triggered in your PagerDuty instance.

I hope this helps! If you need further assistance, please don’t hesitate to reach out to our team at support@pagerduty.com.

Cheers,

“Number of consecutive builds” is a feature present in the UI / configurable version of the plugin, but I think the OP (and I!) would like to see that feature available in Pipeline jobs as well. This doesn’t seem to be possible. https://issues.jenkins-ci.org/browse/JENKINS-63025