Skip to content

Conversation

nullify005
Copy link

Allows hubot to get a crumb from Jenkins prior to submitting a post request (such as to launch a build) when CSRF is enabled on the server

https://wiki.jenkins.io/display/JENKINS/Remote+access+API#RemoteaccessAPI-CSRFProtection

I suppose that there should be a toggle on or off & better error checking etc. but I don't like writing coffee script it makes my head hurt

@gbevan
Copy link

gbevan commented Jan 13, 2018

this patch breaks support for jenkins with CSRF mode turned off. Works fine with it turned on (which is fine for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants