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

Add CrumbExclusion for mercurial hooks

    XMLWordPrintable

Details

    Description

      The the "Webhooks" functionality of Bitbucket only allows to generate POST requests. I would like to use it to trigger builds on Jenkins, but I get the following message in jenkins.log:

      Sep 10, 2015 12:43:44 PM hudson.security.csrf.CrumbFilter doFilter
      WARNING: No valid crumb was included in request for /bitbucket-hook. Returning 403.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            While the /mercurial endpoint may well need a crumb exclusion (never been reported AFAIK), this hook is in another plugin.

            jglick Jesse Glick added a comment - While the /mercurial endpoint may well need a crumb exclusion (never been reported AFAIK), this hook is in another plugin.
            tzach_solomon Tzach Solomon added a comment -

            jglick I think there is a mistake and the component bitbucket-plugin by mistake. Am I right or am I missing something?

            tzach_solomon Tzach Solomon added a comment - jglick I think there is a mistake and the component bitbucket-plugin by mistake. Am I right or am I missing something?
            jglick Jesse Glick added a comment -

            I have no idea what this is, I was just moving it out of the wrong component.

            jglick Jesse Glick added a comment - I have no idea what this is, I was just moving it out of the wrong component.
            tzach_solomon Tzach Solomon added a comment -

            jglick I think that bitbucket-plugin is also the wrong the component.

            tzach_solomon Tzach Solomon added a comment - jglick I think that bitbucket-plugin is also the wrong the component.
            jglick Jesse Glick added a comment -

            Feel free to reassign to the right component then, whatever that is—not mercurial-plugin.

            jglick Jesse Glick added a comment - Feel free to reassign to the right component then, whatever that is—not mercurial-plugin .
            tzach_solomon Tzach Solomon added a comment -

            abrucale does this scenario still reproduces?

            tzach_solomon Tzach Solomon added a comment - abrucale does this scenario still reproduces?

            People

              tzach_solomon Tzach Solomon
              abrucale Aldo Brucale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: