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

Set Commit Status on GitHub not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • github-plugin
    • None

      I'm getting the following error, when trying to set the build status on GitHub. Maybe the API changed?

      09:59:11 Setting commit status on GitHub for https://github.com/kiva/zip/commit/8a3ae0d2bb4a90204a1f00feec6a3711e1a09c9d
      09:59:11 FATAL: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      09:59:11 java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      09:59:11 	at org.kohsuke.github.Requester.handleApiError(Requester.java:494)
      09:59:11 	at org.kohsuke.github.Requester._to(Requester.java:245)
      09:59:11 	at org.kohsuke.github.Requester.to(Requester.java:191)
      09:59:11 	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:780)
      09:59:11 	at com.cloudbees.jenkins.GitHubSetCommitStatusBuilder.perform(GitHubSetCommitStatusBuilder.java:32)
      09:59:11 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      09:59:11 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      09:59:11 	at hudson.model.Build$BuildExecution.build(Build.java:205)
      09:59:11 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      09:59:11 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      09:59:11 	at hudson.model.Run.execute(Run.java:1741)
      09:59:11 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      09:59:11 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      09:59:11 	at hudson.model.Executor.run(Executor.java:381)
      09:59:11 Caused by: java.io.FileNotFoundException: https://api.github.com/repos/kiva/zip/statuses/8a3ae0d2bb4a90204a1f00feec6a3711e1a09c9d
      

            Unassigned Unassigned
            stevepm steven magelowitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: