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

Support multiple github checks against the same PR

XMLWordPrintable

      Currently, even if I have multiple folders or configurations of the branch source plugin configured, they all report as a single check against the PR.

      i.e. If I have repo x, that has an open PR id 123, and I have 2 configurations of branch source plugin each pointing to a different pipeline groovy file. The PR check status in Github will have the status of the project/build that finishes the last.

      It will be great if each of the branch source configurations can be differentiated using a name and their statuses can be reported as separate checks against the same GitHub PR.

       

      Usecase:

      For each open PR, I would like to run some tests against multiple platforms. Currently, I can do this by using different nodes in the pipeline. e.g. a part of the pipeline runs on a Linux node and the other on a windows node. The drawback of this current approach is, if one part of the pipeline fails, I need to run the whole pipeline again.

       

      Proposal:

      The proposal is to enable having multiple branch source configurations, and each of them report as a seprate check against the same PR. Hence, I could have multiple checks that run and report against the same open PR like - windows, linux and mac, etc. If one part of the pipeline fails, I can re-run that one alone instead of having to replay the whole pipeline. This will also enable breaking down my checks into smaller logical groups, rather than having them all in once single monolithic check.

       

      Note:

      • Please let me know if there is a way to do this already using the branch source plugin or using some other plugin
      • If this sounds like a good feature to be a part of the branch source plugin, I will be happy to spend sometime trying to build, if someone can guide me with some directions

       

            Unassigned Unassigned
            soorajshajahan Sooraj
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: