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

Unable to clear the "Aborted" checkbox for "Skip Vote".

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None
    • Jenkins version 2.462.1
      Gerrit Trigger plugin version 2.41.1

      We have a problem with the Gerrit Trigger configuration in many Jenkins jobs.

      In the advanced section (in the top of the gerrit trigger configuration) we have marked the checkbox "Not Built" in "Skip Vote".

      The problem comes when editing this configuration.

      The "Skip Vote", "Aborted" checkbox is automatically being selected when opening the configuration.

      It does not work to unmark and save the change. It is still set. This can be seen in the configuration history. This is really a problem for us. I have not managed to find a way around this problem. No difference using Chrome or Firefox.

      Note (not sure it matters):

      The configuration is configured with a quite big RegExp trigger, >7k characters with many different projects to trigger on.

      There is also a second trigger for some specific files in one particular git.

          [JENKINS-74929] Unable to clear the "Aborted" checkbox for "Skip Vote".

          Lars added a comment - - edited

          To clarify, the "Advanced..." button mentioned is the one below "Gerrit Event" in "Build Triggers".

          I have also managed to find a workaround!

          Edit configuration > unmark "Abort abandoned patch sets" > save
          Edit configuration > mark "Abort abandoned patch sets", unmark "Skip Vote", "Aborted" > save

          Now "Skip Vote", "Aborted" checkbox stays unmarked in the saved configuration but as soon as you open the configuration in the UI it is marked again.

          Lars added a comment - - edited To clarify, the "Advanced..." button mentioned is the one below "Gerrit Event" in "Build Triggers". I have also managed to find a workaround! Edit configuration > unmark "Abort abandoned patch sets" > save Edit configuration > mark "Abort abandoned patch sets", unmark "Skip Vote", "Aborted" > save Now "Skip Vote", "Aborted" checkbox stays unmarked in the saved configuration but as soon as you open the configuration in the UI it is marked again.

            rsandell rsandell
            lloflo Lars
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: