405 Error trying to start Jenkins remote work using wget

I have a Jenkins remote work that does not require any login. This is a parameterized job, so it is usually run using "Build With Parameters".

When I try to run this assembly (with default parameters), I call the following:

wget [url_to_job]/build

And I get this error:

Connecting to 10.57.112.238:8080... connected.
HTTP request sent, awaiting response... 405 Method Not Allowed
2016-03-14 11:49:34 ERROR 405: Method Not Allowed.

From what I read, I think it should work.

Am I doing something wrong?

+4
source share
2 answers
+1

curl wget, :

curl -XPOST --silent --show-error --user <user>:<key> <url_to_job>/build
0

All Articles