Uploaded image for project: 'oVirt - virtualization made easy'
  1. OVIRT-719

check-patch jobs should check if the patch is still open

    Details

    • Type: Improvement
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OVIRT-INFRA-NOV-2016
    • Component/s: None
    • Labels:
      None

      Description

      We sometimes see multiple check-patch jobs still running while actually the patch for them was already merged.
      This happens when Jenkins queue is too big and the committer merge the patch before the job in CI finish or even starts.

      In the case where the job didn't even start because of long queue, there is not reason to continue running the job if the patch was merged.
      Any post merge logic will be run in check-merged stage and there is no value in adding info on the check-patch to the merged commit.

      It should be easy to check in the beginning of the check-patch job and part of standard CI if the patch that is triggered the job is still open and the job should continue.
      If the patch is merged, then we should abort the job and thus cleaning the queue from check-patch jobs that won't have any value .

        Attachments

          Activity

            People

            • Assignee:
              gshinar Gil Shinar
              Reporter:
              eedri Eyal Edri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: