jenkinsci / java-client-api

A Jenkins API client for Java
MIT License
901 stars 470 forks source link

Necessary crumb support after Jenkins 2.176.2+ #477

Open ignite1771 opened 3 years ago

ignite1771 commented 3 years ago

As #429 mentioned, Jenkins LTS after 2.176.2+ improved CSRF protection and make current release of this library not work. However, there is still not a PR to fix this issue. To take advantage of this excellent jenkins client api library hosted by jenkins organization, this may be the first priority issue to solve.

Another jenkins client api library mentioned on Jenkins official page jenkins-rest has already merged a PR to fix this issue (see https://github.com/cdancy/jenkins-rest/pull/70), and it works for Jenkins LTS after 2.176.2+ after that.

@khmarbaise If you think this is a good proposal, may I try to work on it based on the same approach and send a PR to this project? Thanks.