Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-760

Fix update when there are Jenkins template jobs in the view

    XMLWordPrintable

    Details

      Description

      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")

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: