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

Atom feed (and RSS?) doesn't contain description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      It seems that the 'content' tag of the atom feed is meant to be filled out with
      the build description (as indicated by atom.jelly from the source code):

      <j:forEach var="e" items="${entries}" >
      <entry>
      <title>${h.xmlEscape(adapter.getEntryTitle(e))}</title>
      <link rel="alternate" type="text/html"
      href="${rootURL}${h.encode(adapter.getEntryUrl(e))}"/>
      <id>${adapter.getEntryID(e)}</id>
      <published>${h.xsDate(adapter.getEntryTimestamp(e))}</published>
      <updated>${h.xsDate(adapter.getEntryTimestamp(e))}</updated>
      <j:set var="desc" value="${adapter.getEntryDescription(e)}"/>
      <j:if test="${desc!=null}">
      <content>${h.xmlEscape(desc)}</content>
      </j:if>
      </entry>
      </j:forEach>

      However - it is always empty. We're on v1.304 - but I didn't see anything in
      subsequent change logs that would indicate that this is a bug that has been fixed.

      Thanks

            Unassigned Unassigned
            mike5496 mike5496
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: