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

Github PR triggers builds for different branch

      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.

          [JENKINS-63219] Github PR triggers builds for different branch

          Tomasz Opalach created issue -
          Tomasz Opalach made changes -
          Description Original: 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.

          !image-2020-07-27-12-44-58-516.png!
          New: 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.

          !image-2020-07-27-12-44-58-516.png!

           

          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.

          lanwen 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.

          Arkadiusz Paliński added a comment - lanwen 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.
          Levi Blaney made changes -
          Component/s New: pipeline-github-plugin [ 22522 ]

          Levi Blaney added a comment -

          Super annoying bug, also affects the pipeline-github plugin that creates a branch for each PR.

          Levi Blaney added a comment - Super annoying bug, also affects the pipeline-github plugin that creates a branch for each PR.

            lanwen Kirill Merkushev
            topalach Tomasz Opalach
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: