sensu-plugins / sensu-plugins-jenkins

This plugin provides native Jenkins instrumentation for monitoring and metrics collection, including: health, job status, metrics via `JQS`, and others.
http://sensu-plugins.io
MIT License
9 stars 18 forks source link

If a job build is in progress, get the status of the last build #13

Closed dmsimard closed 7 years ago

dmsimard commented 8 years ago

This avoids a situation where a job fails, generates a problem event and then suddenly recovers when the job goes in progress without having really had a success result.

Closes: #12

dmsimard commented 8 years ago

The 1.9.3 Travis build is failing because the json gem is not pinned to a version that is compatible with <2.0. https://travis-ci.org/sensu-plugins/sensu-plugins-jenkins/jobs/147003928

Not because of this PR.

eheydrick commented 7 years ago

Thanks, Ruby 1.9.3 support has been removed and the build is passing.