-
Bug
-
Resolution: Fixed
-
Major
-
None
Monitoring an external job (described at http://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs) doesn't work if the Hudson instance has CSRF protection enabled, because the cli doesn't retrieve a crumb before attempting to submit the result. An example solution is described in one of the blue boxes at <http://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin>. I'll attach a patch that uses this trick to fix the problem.
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/java/hudson/Main.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/36678
Log:
[FIXED JENKINS-7961] support CSRF protection when submitting results
of external job; patch from davidreiss with 1 minor addition.