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

Gerrit Trigger Plugin - Build Current Patchset Only - leave workspace in a bad state if it interrupts a fetch

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • core, gerrit-trigger-plugin
    • None
    • Windows 2k8
      Jenkins 1.554 LTS,
      Gerrit Trigger 2.11.1

      If "build current patchset only" is enabled and the system issues a cancel to a job that is currently fetching from gerrit, the locks are not cleared on the workspace. The next job to run on that workspace will fail as it detects the previous fetch is still in progress.
      We see this when a developer uploads two patchsets within a minute of each other, and the gerrit fetch operation takes 3+ minutes.
      Workaround is to disable the feature.
      The Cancel operation should reset any active locks.

            rsandell rsandell
            tbridges Tony Bridges
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: