Messages Key
The Get Job Details endpoint contains a messages
key and you may wonder what sort of information should be present there.
This key will provide error messages related to the build not running. It will return an empty array on both passing builds and builds that failed while running.
Example
This build didn't run:
This is what would be returned from the API:
"messages" : [ { "type" : "warning", "reason" : "no-followers", "message" : "Your build was not run - reason code (no-followers)." }, { "type" : "error", "message" : "We did not test this push because nobody is following the project" } ],
Comments
Article is closed for comments.