refuse triggering jobs on outdated bases and attempt rebasing

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Almost nobody wants to test the from commits, like ones with outdated bases. Due to this gerrit trigger should have a global option that would attempt to rebase whenever this is needed and drop the event from the queue.

      Dropping the event from the queue is safe because the gerrit rebase action would trigger another event anyway, so the job will still happen, but using the updated base.

      I do think that some people addressed this by using generic proxy jobs that are doing the rebasing but this adds a new layer of serious complexity that is may introduce more problems than solving.

      Another attempt is to introduce this logic at the start of each job, but again this is hard to scale to hundreds of jobs that are created by lots of people.

            Assignee:
            rsandell
            Reporter:
            Sorin Sbarnea
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: