python调用jenkinsapi

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

 

 

报错:

<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

 

posted on 2019-10-10 09:52  yingchen  阅读(897)  评论(0编辑  收藏  举报

导航