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?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.