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

Gerrit Trigger - 405 Method not allowed when a build is launched manually

      Hello,

      When I use the "trick" to add a string parameter called "GERRIT_REFSPEC" with "refs/heads/master" as default value (described here: https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger), I can't click on the "Launch a build" button.

      I get this error: "Method not allowed: The requested method GET is not allowed for the URL /job/HelloWorld/build". This does not happen if the parameter is not set (even if the build fails, which is only logical).

      Thank you for your help

          [JENKINS-15244] Gerrit Trigger - 405 Method not allowed when a build is launched manually

          Théo Chamley created issue -
          Théo Chamley made changes -
          Assignee Original: jyrkiput [ jyrkiput ] New: rsandell [ rsandell ]
          John Koleszar made changes -
          Link New: This issue duplicates JENKINS-3121 [ JENKINS-3121 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145966 ] New: JNJira + In-Review [ 176495 ]
          Mark Waite made changes -
          Assignee Original: rsandell [ rsandell ]

            Unassigned Unassigned
            theo_c Théo Chamley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: