Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7961

Monitoring external jobs doesn't work with CSRF protection enabled.

      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.

          [JENKINS-7961] Monitoring external jobs doesn't work with CSRF protection enabled.

          davidreiss created issue -
          davidreiss made changes -
          Attachment New: hudson-external-crumb.patch [ 19913 ]
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Component/s New: external-monitor-job [ 17123 ]
          Component/s Original: core [ 15593 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138064 ] New: JNJira + In-Review [ 187821 ]

            mindless Alan Harder
            davidreiss davidreiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: