Jenkins “Error 403 No valid crumb was included in the request”
问题 I am trying to trigger a Jenkins build by post request from my Windows computer, using the following commands. First, I obtain the crumb using... curl http://JENKINS-URL/crumbIssuer/api/xml?xpath=//crumb The response is this... <crumb>string-of-digits<\crumb> I then use the command curl -u USERNAME:PASSWORD -X POST -H "Jenkins-Crumb:string-of-digits" http://JENKINS-URL/job/my-job/buildWithParameters?token=my-token The username is correct, the password is correct, the crumb is exactly the