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

Bitbucket hooks don't work for Pipeline jobs

XMLWordPrintable

      I’ve created a Jenkins Pipeline and now I want to run it automatically once Bitbucket receives a new push to master. Problem is that the Bitbucket webhook works fine for a regular freestyle build, but not for a Pipeline job with a Pipeline script from SCM.

      The logs in Bitbucket show that the request succeeded (returns http 200), but in Jenkins I don’t see anything happen, also not in the bitbucket hook log. The Bitbucket hook log in jenkins says ‘Polling has not run yet.’ for a pipeline job, no matter how often scm requests were made. For a freestyle job the hooks work instantly, so it seems to be a problem with the particular Jenkins job type.

            Unassigned Unassigned
            jorrith Jorrith Schaap
            Votes:
            43 Vote for this issue
            Watchers:
            52 Start watching this issue

              Created:
              Updated:
              Resolved: