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

bitbucket-hook not triggering build job - trigger not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • jenkins version: 2.277.4
      bitbucket push and pull request plugin version: 1.5
      OS: linux running on AWS ec2 instance
      running bitbucket cloud

      I am attempting to setup the  Bitbucket push and pull request plugin to run pipeline jobs when PR's are created, for any branch of a given repo.  

      I followed the configuration steps provided. but I am receiving a 500 status response in my webbook. The jenkins server is receiving the request but in my Jenkins server logs, the output is saying that "Trigger is not set". However I created several triggers for PR created, updated,  approved, merged, as well as a trigger for push. 

      In addition I  uninstalled Bitbucket plugin and restarted the Jenkins server, prior to installing this plugin as well. 

      I cant seem to get this to work. Any assistance will be greatly appreciated. 

       

      Attached are screenshots of

      1. my pipeline job configuration, 

      2. My jenkinsfile

      3. my webhook setup 

      4. my webhook response

      4. my logfile.

       

        1. Jenkinsfile-1
          2 kB
        2. job-configuration-1.png
          job-configuration-1.png
          59 kB
        3. job-configuration-2.png
          job-configuration-2.png
          52 kB
        4. job-configuration-3.jpg
          job-configuration-3.jpg
          292 kB
        5. log-file1.png
          log-file1.png
          153 kB
        6. log-file2.png
          log-file2.png
          123 kB
        7. webhook-config.png
          webhook-config.png
          50 kB
        8. webhook-response.png
          webhook-response.png
          49 kB

            cdelmonte Christian Del Monte
            ayalgul ayal gul
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: