1. 在jenkins json
Configure Global Security勾选CSRF Protectionsegmentfault
2. 在浏览器输入以下网址获取api
http://<username>:<password>@Jyangxuecun-m.sh.intel.com:8080/crumbIssuer/api/json浏览器
reference:google
https://groups.google.com/forum/#!topic/jenkinsci-users/Nbz_1LuuVKwci