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

Pipeline Github notify fails and it returns java.io.FileNotFoundException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • Jenkins version 2.462.1
      Pipeline Github Notify Step version 49.vf37bf92d2bc8

      I using this plugin to commit status to github repository:

       githubNotify gitApiUrl: 'https://github.example.com/api/v3', context: xxxStatus, description: 'Change Status',  status: 'PENDING', credentialsId: xxxxyyyyy

      when pipeline is on execution, it returns:

      hudson.remoting.ProxyException: java.io.FileNotFoundException: https://github.example.com/api/v3/repos/owner/repos/statuses/111aaaa2a808018d63860fe7838991e94f5344353
      15:09:58      at PluginClassLoader for github-api//org.kohsuke.github.GitHubConnectorResponseErrorHandler$1.onError(GitHubConnectorResponseErrorHandler.java:68)
      15:09:58      at PluginClassLoader for github-api//org.kohsuke.github.GitHubClient.detectKnownErrors(GitHubClient.java:504)
      15:09:58      at PluginClassLoader for github-api//org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:464)
      15:09:58  Also:   hudson.remoting.ProxyException: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b5d8bffb-03ee-4a7e-8438-2317dd982dbb
      15:09:58  Caused: hudson.remoting.ProxyException: org.kohsuke.github.GHFileNotFoundException: https://github.example.com/api/v3/repos/owner/repos/statuses/111aaaa2a808018d63860fe7838991e94f5344353\{"message":"Not Found","documentation_url":"https://docs.github.com/enterprise-server@3.12/rest/commits/statuses#create-a-commit-status"}

            nilay10721 nilay
            cobbgcall Guillermo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: