![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jinkens
qq_37749055
这个作者很懒,什么都没留下…
展开
-
java 调用jinkens api 时候报 No valid crumb was included in the request
jenkins.getJob("demo1").build(); 运行时报No valid crumb was included in the request 在jenkins 的Configure Global Security下 , 取消“防止跨站点请求伪造(Prevent Cross Site Request Forgery exploits)”的勾选。(如下图) ...原创 2019-05-05 16:49:13 · 756 阅读 · 0 评论 -
java 调用 jinkens api
首先引入 <dependency> <groupId>com.offbytwo.jenkins</groupId> <artifactId>jenkins-client</artifactId> <version>0.3.7</version> </dependency> ...原创 2019-05-05 16:53:53 · 237 阅读 · 0 评论