JenkinsWorld 2018 - New Gerrit Plugin for Jenkins Pipelines
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- Connect Gerrit Code Review to Jenkins Pipelines in minutes!
The new Gerrit Plugin for Jenkins is simpler, faster and yet more powerful than ever. Gerrit becomes a first-class citizen into the Jenkins ecosystem by enabling a complete pipeline to fetch changes for review, building and submitting the relevant feedback as automated review comment to Gerrit.
It Comes from the CI validation workflow experience of the Gerrit Code Review project. The key aspects are stateless, configuration-less - apart from the standard SCM configuration settings. That means that multiple jobs and multiple branches of the same job, can have their own Gerrit integration defined and working out-of-the-box.
Can you share you contents of the webhook script please? Thanks for the video.
Could you please share your gerrit project's webhooks.config ?
thank you!
More information should be added on the GerritWebhook usage, the example in the GitHub README doesn't work at all. I already tried to do many things, even read the code itself, but no luck on that. Nothing makes the gerrit-webhook to be triggered.
Thanks for the feedback. It's a good point. Can you raise an issue on the Gerrit Code Review issue tracker? (www.gerritcodereview.com/issues.html)
How can we integrate Gerrit with GitLab? Is there any plugin available in Gerrit to send a trigger to Gitlab
very good
In case someone is looking for the place to download the plugins mentioned in the video: gerrit-ci.gerritforge.com
Could you please actually add some documentation for the plugin? It is stupid to watch 40 minutes of video, just to see what plugin actually does.
The documentation can be found in either the GitHub repository (github.com/jenkinsci/gerrit-code-review-plugin) or the plugin wiki page (wiki.jenkins.io/display/JENKINS/Gerrit+Code+Review+Plugin)
@@GerritForgeTV This plugin requires webhooks plugin to be installed (not in the default installation). It also requires to install refsfilter, which is not on the gerrit plugins page, and unknown where to find. Author runs bunch of his custom scripts that are not supplied. Thank you for the links, but unfortunately there is no information on how to set up gerrit to work with this plugin.
@@veremenko those plugins are not *required* but yes, they'll give a lot of benefits. We'll make sure that they are all documented and will share the links.
The first commit of the plugin is available for review, the documentation is in the README.md at gerrit.googlesource.com/modules/git-refs-filter/+/7884f72909269b5dc055ddd030c27ff7da2279c6
@@GerritForgeTV Both now are 404