Hello!

      I'm using Dashboard 2.4 on my Jenkins server, and I have the "Unstable Jobs" view in my dashboard.
      When I try to rebuild something in that view, it gives me this error: "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."

      As suggested, I'm filing this bug.

      Thank you!

      Regards,
      Bruno Candido Volpato da Cunha

          [JENKINS-17314] Rebuild Job using GET method

          Code changed in jenkins
          User: Bruno Candido Volpato da Cunha
          Path:
          src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly
          src/main/resources/hudson/plugins/view/dashboard/core/UnstableJobsPortlet/portlet.jelly
          http://jenkins-ci.org/commit/dashboard-view-plugin/f14bcd9521f8c0472ede67a052d334c1ac3cc945
          Log:
          JENKINS-17314

          Job rebuild icons should use POST method instead of GET request after Jenkins version 1.502 (issue SECURITY-13).

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno Candido Volpato da Cunha Path: src/main/resources/hudson/plugins/view/dashboard/core/JobsPortlet/portlet.jelly src/main/resources/hudson/plugins/view/dashboard/core/UnstableJobsPortlet/portlet.jelly http://jenkins-ci.org/commit/dashboard-view-plugin/f14bcd9521f8c0472ede67a052d334c1ac3cc945 Log: JENKINS-17314 Job rebuild icons should use POST method instead of GET request after Jenkins version 1.502 (issue SECURITY-13).

          I've made a pull request with the fix for this issue.

          Waiting for release of version 2.6

          Bruno Candido Volpato da Cunha added a comment - I've made a pull request with the fix for this issue. Waiting for release of version 2.6

          Marco Ambu added a comment -

          2.6 is out there.

          Marco Ambu added a comment - 2.6 is out there.

          Did upgrading the Dashboard View plugin resolve this issue?

          Kevin Thieling added a comment - Did upgrading the Dashboard View plugin resolve this issue?

          Using dashboard 2.9.2 with 1.541, the "Unstable Job" portlet was working well.
          But Job Grid portlet still has the GET method problem.

          Wolfgang Hauser added a comment - Using dashboard 2.9.2 with 1.541, the "Unstable Job" portlet was working well. But Job Grid portlet still has the GET method problem.

            brunocvcunha Bruno Candido Volpato da Cunha
            brunocvcunha Bruno Candido Volpato da Cunha
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: