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

Gerrit Trigger: able to specify which TOPIC(s) to trigger on

      by now Gerrit trigger depends on Project, Branch and files. It would be great to select jobs through TOPIC name. We dont use Branches (CI), and we only 1 project. So the only trigger can be the files. Which is not enough sometimes, an example. If the change only contains code smells fixes such as naming convention magic strings, etc - then build job is enough to be executed on that file. But if I made an API change then the TOPIC name would something else on the same file change.

          [JENKINS-19019] Gerrit Trigger: able to specify which TOPIC(s) to trigger on

          template of a Commit message also can be a trigger - since gerrit TOPIC name usually added in commit msg as well
          please see this commit msg template:
          http://programmers.stackexchange.com/a/203484/91685

          Balazs Barcsik added a comment - template of a Commit message also can be a trigger - since gerrit TOPIC name usually added in commit msg as well please see this commit msg template: http://programmers.stackexchange.com/a/203484/91685

          rin_ne added a comment -

          rin_ne added a comment - Pull request here https://github.com/jenkinsci/gerrit-trigger-plugin/pull/74 Already merged.

          That is great! can you modify the ticket status then? or who should set the current state of this ticket? Anyway I really appreciated your efforts, and hope this improvement useful for others as well.

          Balazs Barcsik added a comment - That is great! can you modify the ticket status then? or who should set the current state of this ticket? Anyway I really appreciated your efforts, and hope this improvement useful for others as well.

          rin_ne added a comment -

          OK.

          rin_ne added a comment - OK.

          rin_ne added a comment -

          Already merged but unreleased.

          rin_ne added a comment - Already merged but unreleased.

            rin_ne rin_ne
            hib Balazs Barcsik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: