jenkinsci / jenkinsci/java-client-api

Necessary crumb support after Jenkins 2.176.2+

Đang mở
#477 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
913
Fork
466
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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](https://github.com/cdancy/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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue không nêu tên tệp nguồn hoặc các bài kiểm thử. Trước tiên, hãy so sánh cách xử lý yêu cầu CSRF của client này với cách tiếp cận trong pull request #70 của jenkins-rest, sau đó xác minh khả năng tương thích với các phiên bản Jenkins LTS sau 2.176.2; công việc được xem là hoàn tất khi các yêu cầu từ Java API client này hoạt động với các yêu cầu crumb mới hơn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.