-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 1.466.1 and Gerrit 2.4.2 on Ubuntu 12.04
Gerrit Trigger 2.6.0, Git Plugin 1.1.23
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
- duplicates
-
JENKINS-3121 Hudson returns http 405 when parameterized option is checked
-
- Reopened
-
Hi,
I configured the same way but I have a different fail message :
20/09/2012 11:08:48 Started by user gbougeard
20/09/2012 11:08:48 [EnvInject] - Loading node environment variables.
20/09/2012 11:08:48 Building on master in workspace /var/lib/jenkins/jobs/CI-components-ALL_BRANCHES/workspace
20/09/2012 11:08:48 Checkout:workspace / /var/lib/jenkins/jobs/CI-components-ALL_BRANCHES/workspace - hudson.remoting.LocalChannel@2bacfa90
20/09/2012 11:08:48 Using strategy: Default
20/09/2012 11:08:48 Last Built Revision: Revision 535685321e0a8183296fedb7a9feded6a5b4b206 (origin/release)
20/09/2012 11:08:48 Fetching changes from 1 remote Git repository
20/09/2012 11:08:48 Fetching upstream changes from ssh://gerrit.it.int/components
20/09/2012 11:08:49 No candidate revisions
20/09/2012 11:08:49 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.