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

"Suppress automatic SCM triggering" property must be respected when events trigger the build

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • branch-api-plugin
    • Jenkins 2.45
      GitHub plugin 1.26.0
      Branch API Plugin 2.0.4

      Steps to reproduce:

      1. Create multibranch pipeline project.
      2. Under project configuration, add GitHub source.
      3. Select "All branches get the same properties" under Property Strategy.
      4. Add "Suppress automatic SCM triggering" property.
      5. Save configuration.
      6. Make sure that GitHub repo configured at step 2 sends push notifications to your Jenkins instance via /github-webhook endpoint.
      7. Push something to the repo.

      Expected result

      Build triggering was suppressed.

      Actual result

      Build is triggered.

      This got broken after recent 1.x -> 2.x updates to SCM API and Co.

          [JENKINS-41980] "Suppress automatic SCM triggering" property must be respected when events trigger the build

          Vladislav Ponomarev created issue -
          Stephen Connolly made changes -
          Assignee Original: Stephen Connolly [ stephenconnolly ] New: Vladislav Ponomarev [ anenviousguest ]
          Stephen Connolly made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stephen Connolly made changes -
          Summary Original: "Suppress automatic SCM triggering" property must be respected when GutHub webhook triggers the build New: "Suppress automatic SCM triggering" property must be respected when events trigger the build
          Thomas Schneider made changes -
          Link New: This issue relates to JENKINS-45814 [ JENKINS-45814 ]
          Max Cascone made changes -
          Link New: This issue is related to JENKINS-64896 [ JENKINS-64896 ]

            anenviousguest Vladislav Ponomarev
            anenviousguest Vladislav Ponomarev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: