RSS entry IDs are not unique for nested items (folders, multibranch projects, etc)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Original reporter https://github.com/mrcarlosrendon

      Consider the following two entries found in the rssAll feed

      <entry>
      <title>nctnhbaseworker/trunk #19 (stable)</title>
      <link type="text/html" href="http://irv-dev-pibld1:8080/job/nctnhbaseworker/branch/trunk/19/" rel="alternate"/>
      <id>tag:hudson.dev.java.net,2015:trunk:19</id>
      <published>2015-12-22T00:02:26Z</published>
      <updated>2015-12-22T00:02:26Z</updated>
      </entry>
      
      <entry>
      <title>psclient/trunk #19 (1 test is still failing)</title>
      <link type="text/html" href="http://irv-dev-pibld1:8080/job/psclient/branch/trunk/19/" rel="alternate"/>
      <id>tag:hudson.dev.java.net,2015:trunk:19</id>
      <published>2015-12-22T00:04:24Z</published>
      <updated>2015-12-22T00:04:24Z</updated>
      </entry>
      

      They are for two different projects, but the <id> tag for them is identical which breaks RSS feed readers that are expecting each entry to have a unique id as is required by the ATOM specification (http://tools.ietf.org/html/rfc4287#section-4.2.6) that Jenkins uses.

      I think adding the project name in addition to the branch name in the id field would solve the issue.

            Assignee:
            Unassigned
            Reporter:
            Matthew DeTullio
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: