在通过python 调用jenkinsapi的时候,需要对一些作业进行定时对构建

python调用jenkinsapi-LMLPHP

报错:

<title>Error 403 No valid crumb was included in the request</title>\n</head>\n<body><h2>HTTP ERROR 403</h2>

原因是在jenkins的安全配置里勾选里下面这个选项,在预防跨站点请求,将其勾掉即可。

No valid crumb was included in the request

python调用jenkinsapi-LMLPHP

05-21 15:26