appleboy / drone-jenkins

Drone plugin for trigger Jenkins jobs.
MIT License
39 stars 17 forks source link

XSRF support #24

Open geopossachs opened 5 years ago

geopossachs commented 5 years ago

hello, an external jenkins use XSRF protection. i has found the information over XSRF protection in the api of the jenkins and write a fanction to add the XSRF header if XSRF protection is active.

Are you interresset to merge the function into the main repo - i can open an PR

geopossachs commented 5 years ago

@appleboy are you interested on the XSRF support for your drone plugin?

It has to play together with this Jenkins plugin https://wiki.jenkins.io/display/JENKINS/CSRF+Protection