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

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

    • 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"}

          [JENKINS-74825] Pipeline Github notify fails and it returns java.io.FileNotFoundException

          Guillermo created issue -

          Mark Waite added a comment -

          The plugin documentation advises

          PLEASE DO NOT USE THIS PLUGIN, USE https://github.com/jenkinsci/github-checks-plugin INSTEAD

          The last plugin release was 3 years ago. The last commit to the plugin repository was over two years ago.

          If you are critically dependent on this plugin, you may want to adopt the plugin so that you can update it to the current Jenkins version and resolve this issue.

          Mark Waite added a comment - The plugin documentation advises PLEASE DO NOT USE THIS PLUGIN, USE https://github.com/jenkinsci/github-checks-plugin INSTEAD The last plugin release was 3 years ago. The last commit to the plugin repository was over two years ago. If you are critically dependent on this plugin, you may want to adopt the plugin so that you can update it to the current Jenkins version and resolve this issue.
          nilay made changes -
          Assignee Original: Raul Arabaolaza [ rarabaolaza ] New: nilay [ nilay10721 ]
          Mark Waite made changes -
          Comment [ ChatGPT generated comment ]

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

              Created:
              Updated: