API responses for builds return include "actions" arrays, which are now containing both objects and arrays as elements. Prior to 2.0 this was not the case. E.g:
{
"actions" : [
{
},
[
],
{
"causes" : [
]
},
{
},
...
Note the second element there is an empty array. Is this WAD? Returning JSON in such a format makes response parsing much more difficult.
[JENKINS-33949] Jenkins 2.0 JSON API returns empty array elements in build "actions" array
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Workflow | Original: JNJira [ 169960 ] | New: JNJira + In-Review [ 183704 ] |
Attachment | New: screenshot-1.png [ 55073 ] |