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

Builds are failing due to GitHubCommitNotifier exception

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      GitHubCommitNotifier is throwing a (very helpful) exception which causes the build to fail. This started this morning without things being changed on our end.

      At first I thought it was due to the upgrade to 1.570 but even after downgrading to 1.569 it did not resolve the issue.

      The exception that is being thrown in the console is:

      15:09:57 Publishing Clover coverage report...
      15:09:57 Publishing Clover XML report...
      15:09:57 Publishing Clover coverage results...
      15:09:57 Recording test results
      15:09:58 ERROR: Publisher com.cloudbees.jenkins.GitHubCommitNotifier aborted due to exception
      15:09:58 java.lang.NullPointerException
      15:09:58 at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:53)
      15:09:58 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      15:09:58 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      15:09:58 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
      15:09:58 at hudson.model.Build$BuildExecution.post2(Build.java:183)
      15:09:58 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
      15:09:58 at hudson.model.Run.execute(Run.java:1757)
      15:09:58 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      15:09:58 at hudson.model.ResourceController.execute(ResourceController.java:88)
      15:09:58 at hudson.model.Executor.run(Executor.java:234)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java
            http://jenkins-ci.org/commit/github-plugin/c4347f829f84fec909b7cfe1e6bc88b265a58e48
            Log:
            JENKINS-23641 - Handle possible nulls if Git checkout fails

            Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java http://jenkins-ci.org/commit/github-plugin/c4347f829f84fec909b7cfe1e6bc88b265a58e48 Log: JENKINS-23641 - Handle possible nulls if Git checkout fails Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java
            src/main/resources/com/cloudbees/jenkins/Messages.properties
            src/test/java/com/cloudbees/jenkins/GitHubCommitNotifierTest.java
            http://jenkins-ci.org/commit/github-plugin/25c1e85dd48d2bbe878aa7eb26f862b6e9f52971
            Log:
            JENKINS-23641 - Direct tests for the issue

            Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java src/main/resources/com/cloudbees/jenkins/Messages.properties src/test/java/com/cloudbees/jenkins/GitHubCommitNotifierTest.java http://jenkins-ci.org/commit/github-plugin/25c1e85dd48d2bbe878aa7eb26f862b6e9f52971 Log: JENKINS-23641 - Direct tests for the issue Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java
            src/main/resources/com/cloudbees/jenkins/GitHubCommitNotifier/config.jelly
            src/main/resources/com/cloudbees/jenkins/Messages.properties
            src/test/java/com/cloudbees/jenkins/GitHubCommitNotifierTest.java
            http://jenkins-ci.org/commit/github-plugin/b6f53a72bc27dd81cc1241c10c3e63d1606138de
            Log:
            Merge pull request #46 from oleg-nenashev/JENKINS-23641

            [JENKINS-23641,JENKINS-25312] - Handle possible nulls if Git checkout fails

            Compare: https://github.com/jenkinsci/github-plugin/compare/0f29b1d8d500...b6f53a72bc27

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java src/main/resources/com/cloudbees/jenkins/GitHubCommitNotifier/config.jelly src/main/resources/com/cloudbees/jenkins/Messages.properties src/test/java/com/cloudbees/jenkins/GitHubCommitNotifierTest.java http://jenkins-ci.org/commit/github-plugin/b6f53a72bc27dd81cc1241c10c3e63d1606138de Log: Merge pull request #46 from oleg-nenashev/ JENKINS-23641 [JENKINS-23641,JENKINS-25312] - Handle possible nulls if Git checkout fails Compare: https://github.com/jenkinsci/github-plugin/compare/0f29b1d8d500...b6f53a72bc27
            Hide
            markewaite Mark Waite added a comment -

            Fix released in git plugin 2.3 10 Nov 2014

            Show
            markewaite Mark Waite added a comment - Fix released in git plugin 2.3 10 Nov 2014
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            @Mark
            Git plugin just contains annotations.
            The fix to github-plugin has been applied here: https://github.com/jenkinsci/github-plugin/pull/46

            Hope to release the plugin today

            Show
            oleg_nenashev Oleg Nenashev added a comment - @Mark Git plugin just contains annotations. The fix to github-plugin has been applied here: https://github.com/jenkinsci/github-plugin/pull/46 Hope to release the plugin today

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                frank Frank K
              • Votes:
                5 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: