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

GiteaHttpStatusException: HTTP 404/Not Found by querying branches with slashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gitea-plugin
    • None
    • Gitea Plugin 1.3.0
      Jenkins ver. 2.303.2
      Gitea 1.15.6

      After update of the Gitea Plugin form 1.2.1 to 1.3.0 following error occurs:

      21:33:41  Started by upstream project "bla/ble/blu" build number 87
      21:33:41  originally caused by:
      21:33:41   Started by timer with parameters: {...}
      21:33:41  Querying the current revision of branch 6.6.5/release...
      21:33:41  org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 404/Not Found
      21:33:41  	at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:866)
      21:33:41  	at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchBranch(DefaultGiteaConnection.java:267)
      21:33:41  	at org.jenkinsci.plugin.gitea.GiteaSCMSource.retrieve(GiteaSCMSource.java:187)
      21:33:41  	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582)
      21:33:41  	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:100)
      21:33:41  	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:310)
      21:33:41  	at hudson.model.ResourceController.execute(ResourceController.java:99)
      21:33:41  	at hudson.model.Executor.run(Executor.java:431)
      21:33:41  Finished: FAILURE

      Querying the current revision of branch without slashes in the name (e.g. master) causes no errors.

      Workaround: downgrade to Gitea Plugin version 1.2.1

       

            Unassigned Unassigned
            mrlov m l
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: