python调用jenkinsapi

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

报错:

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

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

No valid crumb was included in the request

原文地址:https://www.cnblogs.com/yingchen/p/11645994.html