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

GitHub commit status context not unique enough or configurable - jobs always overwrite each other

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • CloudBees Jenkins Enterprise 2.107.34.0.1-fixed
      GitHub API Plugin 1.90
      GitHub Branch Source Plugin 2.3.5

      GitHub can incorrectly flag PRs as passing checks if multiple jobs run against the same repository.

      Multiple jobs configured against the same source repo will incorrectly set all checks successful if the last completed check is successful.

      In my opinion, if there is no mechanism to define mandatory and optional checks, then the worst status check should provide the overall result.

      This could be a check prior to submitting status that validates the prior status is not unsuccessful, and  it is the same git sha1, and it is a different job name.

      The secondary issue here is that only a single link is added to the PR, and so there is no indication on the GitHub PR how many jobs ran.

            Unassigned Unassigned
            j3p0uk Jon-Paul Sullivan
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: