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

Provide sysprop option to disregard HTTP/HTTPS protocol when accepting webhooks


      In cases where Bitbucket is servicing requests behind a firewall, it may be identified by both a HTTP and HTTPS url. This bug requires creating the option to ignore the protocol when accepting webhooks so that webhooks served from a HTTPS Bitbucket are not treated by Jenkins as coming from a separate host.

      Original ticket:

      I've configured plugin and pipeline as described in tutorial all test connections from Jenkins side and Bitbucket side works well. I built pipeline successfully and status updated on Bitbucket server.

      When Bitbucket is sending request with webhook, it doesn't trigger my pipeline and I'm receiving a base URL not match info inside Jenkins logs.

      Jenkins has access through http to Bitbucket and Bitbucket base URL is https. Is it important?

        1. jenkins.PNG
          16 kB
          Farshid Abdollahi

            Unassigned Unassigned
            farshid616 Farshid Abdollahi
            0 Vote for this issue
            3 Start watching this issue