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

In gerrit, the option --verified is missing from the 'gerrit review' command

    Details

    • Similar Issues:

      Description

      I use gerrit 2.8.1.
      In the documentation, there is a --verified option for the command 'gerrit review'.
      When I enter the following command:
      ssh -p 29418 jenkins@192.168.0.18 gerrit review --project TestGerrit --code-review 0 2,1

      Everything is fine.
      But when I enter the following command:
      ssh -p 29418 jenkins@192.168.0.18 gerrit review --project TestGerrit --verified 1 --core-review 0 2,1
      An error is displayed:
      fatal: "--verified" is not a valid option

      I think this is why the gerrit / jenkins plugin is hanging ... It still needs to send a --verified option which make the jenkins submission fails

      When I look at the jenkins Logs, I see:

      http://192.168.0.47:8080/job/gerrit_test/32/ : FAILURE' --verified -1 --code-review 0

      There is no 'verified' menu in gerrit too. So, I think all the 'verified' things have been removed from Gerrit.

        Attachments

          Activity

          Hide
          savermyas Dmitry Myasnikov added a comment -

          To make an option --verified available you should add a verified label to your project and allow your user to access this label in All-Projects root. You can follow http://stackoverflow.com/questions/22229536/edit-project-config-in-a-gerrit-project.

          Show
          savermyas Dmitry Myasnikov added a comment - To make an option --verified available you should add a verified label to your project and allow your user to access this label in All-Projects root. You can follow http://stackoverflow.com/questions/22229536/edit-project-config-in-a-gerrit-project .

            People

            • Assignee:
              jyrkiput jyrkiput
              Reporter:
              ycollette yann collette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: