• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • github-plugin
    • Jenkins 2.72
      GitHub Plugin 1.21.1
      ClearCase UCM Plugin 1.7.0

      We are seeing a constant stream of error messages in our jenkins.err.log about the GithubLinkAnnotator failing to annotate a message.

      {{Sep 06, 2016 6:21:13 PM hudson.scm.ChangeLogSet$Entry getMsgAnnotated
      INFO: ChangeLogAnnotator com.coravy.hudson.plugins.github.GithubLinkAnnotator@7c6e03a4 failed to annotate message 'FOO00132383'; null}}

      I believe that the crux of the issue is that these change log sets are actually from the ClearCase Plugin, and not from GitHub projects at all. I see a null check in the annotate call, but apparently something else is tripping up this code.

      I realize that this will be hard for someone on the GitHub side to fix/verify since it requires ClearCase change sets. I'm not sure it can be deduced what extra null checks might be necessary, or if this issue could be bounced to the ClearCase UCM project to gather some additional information...

          [JENKINS-38024] GithubLinkAnnotator NPE

          Not enough info to reproduce.

          Kanstantsin Shautsou added a comment - Not enough info to reproduce.

          I see on the GitHub plugin page that it will annotate all of the "Changes" pages with GitHub links:

          _The Github plugin decorates Jenkins "Changes" pages to create links to your Github commit and issue pages. It adds a sidebar link that links back to the Github project page.
          _
          Has this been tested alongside Jenkins jobs that use other SCM solutions? Obviously my issue is with ClearCase, but I'm guessing that changesets from other SCMs could have the same issue.

          Christopher Shannon added a comment - I see on the GitHub plugin page that it will annotate all of the "Changes" pages with GitHub links: _The Github plugin decorates Jenkins "Changes" pages to create links to your Github commit and issue pages. It adds a sidebar link that links back to the Github project page. _ Has this been tested alongside Jenkins jobs that use other SCM solutions? Obviously my issue is with ClearCase, but I'm guessing that changesets from other SCMs could have the same issue.

            lanwen Kirill Merkushev
            w60001 Christopher Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: