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

Build Now link sends GET request instead of Ajax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      After click on Build now from one of our project dashboard followed appears and project doesn't build:
      You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.
      It shows with Proceed button. After clicking on Proceed button build works but page stays blank.

      Most of our projects works, we have problem only with one project.

      In browser web console i can see: 405 Method Not Allowed (url for Build Now links: https://jenkins:8443/view/EOD/job/1.%20Odtw%C3%B3rz%20repozytorium%20EOD/build?delay=0sec)

      I've already tried: https://issues.jenkins.io/browse/JENKINS-20085 but in newest version of Jenkins Functions.globalIota doesn't exist.
      I have also tried to ask for help here: https://github.com/jenkinsci/dashboard-view-plugin/issues/335 but - like they said - this is not related to dashboard plugin.

      Don't know exactly when this stops to work but i'm sure that in past its been working.

        1. firefox inspector event.png
          firefox inspector event.png
          152 kB
        2. our inspektor1.png
          our inspektor1.png
          39 kB
        3. line12.png
          line12.png
          231 kB

            Unassigned Unassigned
            0k00l Sebastian Willdo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: