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

Gerrit Build Current Patches Only not working with triggers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • gerrit-trigger-plugin
    • None
    • Jenkins 2.121.2
      Gerrit Trigger 2.27.5

      When Gerrit trigger is included in declarative pipeline 

      Excample:

       triggers {
              gerrit(gerritProjects: [[branches                              : [[compareType: 'PLAIN', pattern: 'master']],
                                       compareType                           : 'PLAIN',
                                       disableStrictForbiddenFileVerification: false,
                                       pattern                               : 'apps']],
                      serverName: 'gerrit.server.com')
          }
      

      Option "Build Current Patches Only" in plugin config does not take effect. 

            rsandell rsandell
            grzzie Grzegorz Zieba
            Votes:
            11 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: