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

Vote patch sets with same topic doesn't vote

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None
    • Jenkins 2.387.1
      Gerrit Trigger 2.37.0

      Updating the config in <jenkins_url>/gerrit-trigger/server/<name>/ do not take effect.

      I have checked the box "Vote patch sets with same topic" in this config but the trigger still doesn't seem to vote for all changes in the topic.

      Expected behavior:
      From the config "If this option is enabled, build notifications and votes will be sent to all patch sets within a Gerrit topic."

      Actual behavior:
      Notifications and votes are not sent to all changes in a topic.

      Steps to reproduce.
       * Create an instance of a Gerrit trigger <jenkins_rul>/gerrit-trigger/.
       * Fill in the required fields name, hostname, frontend url, ssh-port, username, ssh-key, ssh Keyfile Password, Gerrit HTTP username and Gerrit HTTP Password.

      • Check boxes Enable Code-Review, Enable Verified and finally "Vote patch sets with same topic".
      • Create a job using the Gerrit trigger that was just created.
      • Create two commits.
      • Push each of them to Gerrit review with <remote> HEAD:refs/for/<branch> -o topic=<topic>

      After running these steps I have seen that the messages and votes from the second commit does not appear on the first commit even though they are in the same topic.
      I have also seen that changes to certain fields in the config, <jenkins_url>/gerrit-trigger/server/<name>/, aren't applied, such as Build Current Patches Only. These issues may be related.

            Unassigned Unassigned
            jhulmege Jack
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: