RELEASED: Public: 2020-05-26
API fails on templatized job: NotExportableException: class GradleInstallation doesn’t have @ExportedBean (CPLT-6466):
Using the Jenkins export feature (e.g. …/api/json?depth=1) on a templatized job could result in an error unless certain special template attribute controls were used, such as tool installations.
values property of a templatized job now uses the persisted form of attribute controls, typically strings rather than the model objects they name, in cases where the live form would cause an export error. Note that the
depth query parameter is deprecated and should never be used; instead use
tree and specify the fields you want to retrieve.