jenkinsci / java-client-api

A Jenkins API client for Java
MIT License
901 stars 470 forks source link

Build.getTestReport will throw IOException during serialization #389

Open hustfly opened 5 years ago

hustfly commented 5 years ago

When I try to serial JonWithDetail, the metho getTestReport in Build.class will throw IOException because the test report does not exist. It caused issue when I try to serial the whole java object. Is there way to avoid this issue? If the test report request not returned properly, return null instead of throwing exception?