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

Github PR triggers builds for different branch

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: github-plugin
    • Labels:
    • Environment:
      Jenkins 2.235.2
      GitHub plugin 1.31.0
    • Similar Issues:

      Description

      We have the following branches in our repository: `v4.2` and `v5.0`. Each branch has two builds (for linux and windows).

      When a PR is merged to the `v4.2` branch, the related webhook triggers all of the builds for both `v4.2` and `v5.0`:
      `Testsv42_Linx64`
      `Testsv42_Winx64`
      `Testsv50_Linx64`
      `Testsv50_Winx64`

      This is how the `Testsv42_Linx64` build is configured. The rest of the builds are configured similarly.

       

      Additional note: the v5.0 branch contains some commits from the v4.2 branch - the v4.2 branch is merged to v5.0 once in a while.

        Attachments

          Activity

          Hide
          arek Arkadiusz Paliński added a comment -

          Kirill Merkushev Any update on this? Can you suggest some workaround? This is affecting our CI and we'd like to get it resolved as soon as possible.

          Show
          arek Arkadiusz Paliński added a comment - Kirill Merkushev Any update on this? Can you suggest some workaround? This is affecting our CI and we'd like to get it resolved as soon as possible.

            People

            • Assignee:
              lanwen Kirill Merkushev
              Reporter:
              topalach Tomasz Opalach
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: