-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: NXJR-3.5.3
-
Component/s: Jenkins Report (deprecated)
-
Tags:
The Jenkins template jobs do not have the same json serialization, and are missing a "status" given by the color attribute.
The following error occurs when such a job is added to the view used by the report (and other updates are not available)
net.sf.json.JSONException: JSONObject["color"] not found.
at net.sf.json.JSONObject.getString(JSONObject.java:2092)
at com.nuxeo.intranet.jenkins.web.JenkinsJsonConverter.convertJobs(JenkinsJsonConverter.java:63)
Workaround: filter template jobs from the report view (exclude jobs on criterion "job type", values "job template" and "auxiliary template")