Add support for canceling pending builds on update

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

XMLWordPrintable

      GitLab plugin supports canceling pending builds on merge request update. This saves time in projects where builds can stay long time in a build queue and you care only about the status of the newest commit.

       

      Can it be added to the GitLab Branch Source Plugin? 
      Including the trigger directly in a pipeline doesn't work.

      triggers {
         gitlab(
            cancelPendingBuildsOnUpdate: true
         )
      }
      

       

       

            Assignee:
            Parichay Barpanda
            Reporter:
            Marek
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: