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

Build is triggered for jobs whose branches are not specified for running

    Details

    • Similar Issues:

      Description

      I use Bitbucket webhooks to run jobs in Jenkins. 

      Since yesterday, webhooks have stopped working correctly. For any events in the Bitbucket - a new commit or even the creation and removal of brunch comes webhook, which will be triggered by all the tasks that are tied to this brunch and which have status.

      Example, I removed branch and log in jenkins is:

      May 16, 2018 1:19:36 AM com.cloudbees.jenkins.plugins.BitbucketJobProbe triggerMatchingJobs
      INFO: Triggering BitBucket job Effie_WebServer_K8S_DEV
      May 16, 2018 1:19:36 AM com.cloudbees.jenkins.plugins.BitbucketJobProbe triggerMatchingJobs
      INFO: Triggering BitBucket job Effie_WebServer_K8S_TEST
      May 16, 2018 1:19:36 AM com.cloudbees.jenkins.plugins.BitbucketJobProbe triggerMatchingJobs
      INFO: Triggering BitBucket job Effie_WebServer_Retail_DEMO
      May 16, 2018 1:19:38 AM com.cloudbees.jenkins.plugins.BitBucketTrigger$1 run
      INFO: SCM changes detected in Effie_WebServer_K8S_DEV. Triggering #19
      May 16, 2018 1:19:38 AM com.cloudbees.jenkins.plugins.BitBucketTrigger$1 run
      INFO: SCM changes detected in Effie_WebServer_K8S_TEST. Triggering #15

      Why were the jobs Effie_WebServer_K8S_DEV and Effie_WebServer_K8S_TEST triggered, they should have been ignored!!!!
      Everything worked before! 

       

      I need help!

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              prokhorovd Dmitriy Prokhorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: