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