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

Failed to post build status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gitea-plugin
    • None
    • gitea 1.16.9
      latest jenkins lts with up-to-date plugins

      o.j.p.g.GiteaNotifier$JobScheduledListener$1#run: Could not send commit status notification for proj/repo/main to https://gitea.xxx.test
      org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 403/Forbidden
      {"context":"proj/repo/pipeline/head","description":"Build queued...","state":"pending","status":"pending","target_url":"https://jenkins.xxxx.test/job/proj/job/repo/job/main/display/redirect"}
      	at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.post(DefaultGiteaConnection.java:908)
      	at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.createCommitStatus(DefaultGiteaConnection.java:594)
      	at org.jenkinsci.plugin.gitea.GiteaNotifier$JobScheduledListener$1.run(GiteaNotifier.java:280)
      	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.base/java.lang.Thread.run(Unknown Source)
      

      Seems to be related to latest gitea update from 1.16.8 to 1.16.9

            Unassigned Unassigned
            viceice Michael Kriese
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: