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

Gerrit trigger to support custom labels

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None

      Use case: Gerrit support custom labels. We would like to use such labels in combination with Code Review and Verified to track all phases of a given change through Gerrit e.g. labels for Build, Install, Package, Test, and have the Jenkins jobs triggered accordingly. Today this not possible given Gerrit trigger does not support custom labels (the job flow can of course be implemented other ways, pipeline, etc). By editing the verified commands we can change what verified and code review in Jenkins means in Gerrit, but this seems at server and not job level, so does not solve the issue.

      Requirements: it shall be possible to

      • Define custom labels per Gerrit server (global configuration)
      • Configure custom labels per job
      • Same functionality for custom label as Code Review and Verified i.e. set custom label according to single or multiple jobs triggered by same patchset

            rsandell rsandell
            chris31421 Christian Lague
            Votes:
            19 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: