arangamani / jenkins_api_client

Ruby Client libraries for communicating with Jenkins Remote Access API
http://github.arangamani.net/jenkins_api_client/
MIT License
416 stars 239 forks source link

Introduce set_cookie for handling jenkins session id #292

Open dmicky0419 opened 4 years ago

dmicky0419 commented 4 years ago

After Jenkins-LTS 2.176.3, jenkins_api_client module had been failed because of CSRF protection token. This patch enables to handle the jenkins session, so it can be re-enabling.

jesseadams commented 3 years ago

This fixed my crumb issue with the latest Jenkins LTS (2.263.4). Please merge it in!

NathanZook commented 3 years ago

This PR addresses at least three different issues. As for the cause specified, please see my comment at https://github.com/arangamani/jenkins_api_client/issues/300#issuecomment-906206519