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

gerrit-trigger-plugin option "Build Current Patches Only" not work in script pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      my script pipeline trigger config is: 

           pipelineTriggers([
               gerrit(customUrl: '', gerritProjects: [[branches: [[compareType: env.GERRIT_BRANCHES_COMPARE_TYPE, pattern: env.GERRIT_BRANCHES_PATTERN]], compareType: 'PLAIN', pattern: env.GERRIT_PROJECT_PATTERN]], triggerOnEvents: [commentAddedContains(env.GERRIT_TRIGGER_COMMENT)])
           ])
      

      gerrit comment can trigger jenkins job, but if you set a new patch and comment again, the old build don't abort when option "Build Current Patches Only" is checked , how can i effect "Build Current Patches Only" in jenkins script pipeline?

      thanks for help !

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            rsandell rsandell
            Reporter:
            gxglls ziyin lu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: