报错:
Error 403 No valid crumb was included in the request
解决方案1:
在系统管理 –> 全局配置安全中调整设置:
取消“防止跨站点请求伪造”的勾选
解决方案2:
勾选“防止跨站点请求伪造”
获取Jenkins-Crumb
wget -q --auth-no-challenge --user USERNAME --password PASSWORD --output-document - 'http://IP:PORT/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)'
更换USERNAME PASSWORD IP:PORT
...
展开全文