Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7201

Update center metadata printed in HTML output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      OS: Ubuntu Linux 10.04
    • Similar Issues:

      Description

      I get intermittent weird HTML pages where update center metadata gets inserted, sometimes before the headers making the pages unusable.

      Example below:

      "CORE":

      {"BUILDDATE": "AUG 09, 2010", "NAME": "CORE", "URL": "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/WAR/1.371/HUDSON.WAR", "VERSION": "1.371"}

      , "ID": "DEFAULT", "PLUGINS": {"SCTMEXECUTOR":
      {"BUILDDATE": "MAR 06, 2010", "DEPENDENCIES": [], "DEVELOPERS":
      [

      {"DEVELOPERID": "TOFUATJAVA", "EMAIL": "TFUERER.JAVANET@GOOGLEMAIL.COM", "NAME": "THOMAS FUERER"}

      ],
      "EXCERPT": "THIS PLUGIN WILL LET USERS USE BORLAND'S SILKCENTRAL TEST
      MANAGER 2008 R2 OR LATER.", "LABELS": ["BUILDER"], "NAME":
      "SCTMEXECUTOR", "PREVIOUSTIMESTAMP": "2010-03-02T04:15:34.00Z",
      "RELEASETIMESTAMP": "2010-03-07T01:47:22.00Z", "REQUIREDCORE":
      "1.345", "TITLE": "SCTMEXECUTOR", "URL":
      "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/PLUGINS/SCTMEXECUTOR/1.5.1/SCTMEXECUTOR.HPI",
      "VERSION": "1.5.1", "WIKI":
      "HTTP://WIKI.HUDSON-CI.ORG//DISPLAY/HUDSON/SCTMEXECUTOR"}, "SCHMANT":
      {"BUILDDATE": "DEC 15, 2009", "DEPENDENCIES": [], "DEVELOPERS":
      [

      {"DEVELOPERID": "KALLE"}

      ], "EXCERPT": "THE SCHMANT PLUGIN ENABLES
      HUDSON TO RUN <A HREF='HTTP://WWW.SCHMANT.ORG'>SCHMANT</A> BUILD
      SCRIPTS.", "LABELS": ["BUILDER"], "NAME": "SCHMANT",
      "PREVIOUSTIMESTAMP": "2009-04-01T15:28:56.00Z", "RELEASETIMESTAMP":
      "2009-12-15T16:01:08.00Z", "REQUIREDCORE": "1.337", "TITLE": "SCHMANT
      PLUGIN", "URL":
      "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/PLUGINS/SCHMANT/1.1.4/SCHMANT.HPI",
      "VERSION": "1.1.4", "WIKI":
      "HTTP://WIKI.HUDSON-CI.ORG//DISPLAY/HUDSON/SCHMANT+PLUGIN"}, "URLSCM":
      {"BUILDDATE": "JAN 27, 2010", "DEPENDENCIES": [], "DEVELOPERS":
      [

      {"DEVELOPERID": "MDONOHUE", "NAME": "MICHAEL DONOHUE"}

      ], "EXCERPT":
      "THIS PLUGIN ALLOWS THE USE OF URLS AS AN SCM.", "LABELS": ["SCM"],
      "NAME": "URLSCM", "PREVIOUSTIMESTAMP": "2008-06-25T01:13:30.00Z",
      "RELEASETIMESTAMP": "2010-01-27T14:48:14.00Z", "REQUIREDCORE":
      "1.318", "TITLE": "URL SCM", "URL":
      "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/PLUGINS/URLSCM/1.5/URLSCM.HPI",
      "VERSION": "1.5", "WIKI":
      "HTTP://WIKI.HUDSON-CI.ORG//DISPLAY/HUDSON/URL+SCM"}, "ACCUREV":
      {"BUILDDATE": "MAR 02, 2010", "DEPENDENCIES": [], "DEVELOPERS":
      [

      {"DEVELOPERID": "STATUM"}

      ], "EXCERPT": "THIS PLUGIN ALLOWS YOU TO USE
      <A HREF='HTTP://WWW.ACCUREV.COM/'>ACCUREV</A> AS A SCM.", "LABELS":
      ["SCM"], "NAME": "ACCUREV", "PREVIOUSTIMESTAMP":
      "2010-02-28T08:19:28.00Z", "RELEASETIMESTAMP":
      "2010-03-02T15:28:30.00Z", "REQUIREDCORE": "1.345", "TITLE": "ACCUREV
      PLUGIN", "URL":
      "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/PLUGINS/ACCUREV/0.6.11/ACCUREV.HPI",
      "VERSION": "0.6.11", "WIKI":
      "HTTP://WIKI.HUDSON-CI.ORG//DISPLAY/HUDSON/ACCUREV+PLUGIN"},
      "ACTIVE-DIRECTORY": {"BUILDDATE": "DEC 08, 2009", "DEPENDENCIES": [],
      "DEVELOPERS": [

      {"DEVELOPERID": "KOHSUKE"}

      ], "EXCERPT": "WITH THIS
      PLUGIN, YOU CAN CONFIGURE HUDSON AUTHENTICATES THE USERNAME AND THE
      PASSWORD THROUGH ACTIVE DIRECTORY. ", "LABELS": ["USER"], "NAME":
      "ACTIVE-DIRECTORY", "PREVIOUSTIMESTAMP": "2009-07-10T17:09:24.00Z",
      "RELEASETIMESTAMP": "2009-12-08T16:53:50.00Z", "REQUIREDCORE":
      "1.318", "TITLE": "ACTIVE DIRECTORY PLUGIN", "URL":
      "HTTP://UPDATES.HUDSON-LABS.ORG/DOWNLOAD/PLUGINS/ACTIVE-DIRECTORY/1.16/ACTIVE-DIRECTORY.HPI",
      "VERSION": "1.16", "WIKI":
      "HTTP://WIKI.HUDSON-CI.ORG//DISPLAY/HUDSON/ACTIVE+DIRECTORY+PLUGIN"},
      "ANALYSIS-COLLECTOR": {"BUILDDATE": "AUG 02, 2010", "DEPENDENCIES":
      [

      {"NAME": "ANALYSIS-CORE", "OPTIONAL": FALSE, "VERSION": "1.11"}

      ,

      {"NAME": "MAVEN-PLUGIN", "OPTIONAL": FALSE, "VERSION": "1.358"}

      ,

      {"NAME": "CHECKSTYLE", "OPTIONAL": TRUE, "VERSION": "3.9"}

      ,

      {"NAME": "DRY", "OPTIONAL": TRUE, "VERSION": "2.9"}

      ,

      {"NAME": "FINDBUGS", "OPTIONAL": TRUE, "VERSION": "4.12"}

      ,

      {"NAME": "PMD", "OPTIONAL": TRUE, "VERSION": "3.9"}

      ,

      {"NAME": "TASKS", "OPTIONAL": TRUE, "VERSION": "4.10"}

      ,

      {"NAME": "WARNINGS", "OPTIONAL": TRUE, "VERSION": "3.8"}

      ,

      {"NAME": "DASHBOARD-VIEW", "OPTIONAL": TRUE, "VERSION": "1.5"}

      ], "DEVELOPERS": [

      {"DEVELOPERID": "DRULLI", "NAME": "ULLI HAFNER"}

      ], "EXCERPT": "THIS PLUG-IN IS AN ADD-ON FOR THE PLUG-INS <A
      HREF='HUDSON:CHECKSTYLE PLUGIN'>CHECKSTYLE</A>, <A HREF='HUDSON:DRY
      PLUGIN'>DRY</A>, <A HREF='HUDSON:FINDBUGS PLUGIN'>FINDBUGS</A>, <A
      HREF='HUDSON:PMD PLUGIN'>PMD</A>, <A HREF 403 Forbidden
      Server: Winstone Servlet Engine v0.9.10
      Content-Type: text/html;charset=UTF-8
      Content-Length: 239
      Connection: Keep-Alive
      Date: Fri, 13 Aug 2010 05:53:11 GMT
      X-Powered-By: Servlet/2.5 (Winstone/0.9.10)

      <html><head><meta http-equiv='refresh'
      content='1;url=/login?from=%2F%22%2C'/><script>window.location.replace('/login?from=%2F%22%2C');</script></head><body
      style='background-color:white; color:white;'>Authentication
      required</body></html>

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/war/pom.xml
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/35337
          Log:
          [FIXED JENKINS-7201] Fixed the malformed HTTP request error recovery behavior in Winstone.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/war/pom.xml trunk/www/changelog.html http://jenkins-ci.org/commit/35337 Log: [FIXED JENKINS-7201] Fixed the malformed HTTP request error recovery behavior in Winstone.
          Hide
          dogfood dogfood added a comment -

          Integrated in hudson_main_trunk #304
          [FIXED JENKINS-7201] Fixed the malformed HTTP request error recovery behavior in Winstone.

          kohsuke :
          Files :

          • /trunk/hudson/main/war/pom.xml
          • /trunk/www/changelog.html
          Show
          dogfood dogfood added a comment - Integrated in hudson_main_trunk #304 [FIXED JENKINS-7201] Fixed the malformed HTTP request error recovery behavior in Winstone. kohsuke : Files : /trunk/hudson/main/war/pom.xml /trunk/www/changelog.html

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vladdu Vlad Dumitrescu
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: