This plugin provides native Jenkins instrumentation for monitoring and metrics collection, including: health, job status, metrics via `JQS`, and others.
[x] Update Changelog following the conventions laid out on Keep A Changelog
[x] Update README with any necessary configuration snippets
[x] Binstubs are created if needed
[x] RuboCop passes
[x] Existing tests pass
New Plugins
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Purpose
The commit in #17 is not sufficient to provide meaningful error messages
because it parses the JSON response only for status code 200.
But when a health check fails a status code of 500 is returned. To get a
meaningful error message, the JSON response needs to be parsed also for
status code 500.
Pull Request Checklist
Is this in reference to an existing issue? #10
General
[x] Update Changelog following the conventions laid out on Keep A Changelog
[x] Update README with any necessary configuration snippets
[x] Binstubs are created if needed
[x] RuboCop passes
[x] Existing tests pass
New Plugins
[ ] Tests
[ ] Add the plugin to the README
[ ] Does it have a complete header as outlined here
Purpose
The commit in #17 is not sufficient to provide meaningful error messages because it parses the JSON response only for status code 200. But when a health check fails a status code of 500 is returned. To get a meaningful error message, the JSON response needs to be parsed also for status code 500.
Known Compatablity Issues
None.