2

I'm working with Git + Gerrit + Jenkins. I would like Gerrit to automatically submit a change after Jenkins success run. Is there any way to skip the review part (only verify is needed) and auto submit without user actions?

4

1 回答 1

6

You can do that.

from the gerrit help pages.

http://gerrit-documentation.googlecode.com/svn/Documentation/2.5.1/cmd-review.html

ssh -p 29418 review.example.com gerrit review --verified +1 --code-review +2 --submit --project this/project commit

Cheers

于 2013-04-01T00:36:57.020 回答