git使用webhook触发Jenkins构建问题Error 403 No valid crumb was included in the reques和Authentication required
实现目标是当项目代码由本地push至远程仓库后立即触发Jenkins构建遇到两个问题其一报错:Error403Novalidcrumbwasincludedintherequest这是因为Jenkins防止跨站点请求伪造这个功能未关闭在Jenkins设置中反选此功能即可解决另外由于Jenkins新版本中不再提供防止跨站点请求伪造的勾选框所以需要修改Jenkins启动项小弟我的环境是docker里含