On 7 Dec 2020, at 13:30, 'Han-Wen Nienhuys' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:On Sat, Dec 5, 2020 at 10:15 PM Vitaliy Lotorev <lot...@gmail.com> wrote:
Hi
We have Gerrit instance hooked with Jenkins and Zuul. Most jobs can be retrigged with adding comment in Gerrit.
We updated Gerrit 3.2.x to 3.3.0 and triggering the jobs by comment stopped working.
It seems that Gerrit 3.3 posts patchset level comments instead of change comments [1-2].
Both Jenkins gerrit-trigger-plugin and Zuul doesn't (yet) listen to patchset level comments.
Is there any easy-to-apply patch for Gerrit users could use temporarily while CI systems start supporting patchset level comments?
Can you see if it works if you revert 0430b58f18ec3edead5c95297333b4cbf64d5914 ?
As you can see from the commit, there is support for targeted
switching of these features in the frontend code, but it needs a bit
of backend code to make it work. Patrick he'd look into this today,
and we could backport it to 3.3.
As an alternative, I think that messages that are ingested over email
(ie. reply to a email notification of the change) still uses classical
change messages, so you can use that as a stopgap in the meantime.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAFQ2z_PNGSRK5Km819CVnpikRUFsuiz8_KkMBLJAyO2964SQJg%40mail.gmail.com.
On 7 Dec 2020, at 13:30, 'Han-Wen Nienhuys' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:On Sat, Dec 5, 2020 at 10:15 PM Vitaliy Lotorev <lot...@gmail.com> wrote:
Hi
We have Gerrit instance hooked with Jenkins and Zuul. Most jobs can be retrigged with adding comment in Gerrit.
We updated Gerrit 3.2.x to 3.3.0 and triggering the jobs by comment stopped working.
It seems that Gerrit 3.3 posts patchset level comments instead of change comments [1-2].
Both Jenkins gerrit-trigger-plugin and Zuul doesn't (yet) listen to patchset level comments.
Is there any easy-to-apply patch for Gerrit users could use temporarily while CI systems start supporting patchset level comments?
Can you see if it works if you revert 0430b58f18ec3edead5c95297333b4cbf64d5914 ?
As you can see from the commit, there is support for targeted
switching of these features in the frontend code, but it needs a bit
of backend code to make it work. Patrick he'd look into this today,
and we could backport it to 3.3.
As an alternative, I think that messages that are ingested over email
(ie. reply to a email notification of the change) still uses classical
change messages, so you can use that as a stopgap in the meantime.It would be also good to report this to the Gerrit Trigger Plugins and Zuul, so that they can start listening to those events as well in the future.
On 8 Dec 2020, at 15:55, Vitaliy Lotorev <lot...@gmail.com> wrote:вт, 8 дек. 2020 г. в 01:20, Luca Milanesio <luca.mi...@gmail.com>:On 7 Dec 2020, at 13:30, 'Han-Wen Nienhuys' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:On Sat, Dec 5, 2020 at 10:15 PM Vitaliy Lotorev <lot...@gmail.com> wrote:
Hi
We have Gerrit instance hooked with Jenkins and Zuul. Most jobs can be retrigged with adding comment in Gerrit.
We updated Gerrit 3.2.x to 3.3.0 and triggering the jobs by comment stopped working.
It seems that Gerrit 3.3 posts patchset level comments instead of change comments [1-2].
Both Jenkins gerrit-trigger-plugin and Zuul doesn't (yet) listen to patchset level comments.
Is there any easy-to-apply patch for Gerrit users could use temporarily while CI systems start supporting patchset level comments?
Can you see if it works if you revert 0430b58f18ec3edead5c95297333b4cbf64d5914 ?
As you can see from the commit, there is support for targeted
switching of these features in the frontend code, but it needs a bit
of backend code to make it work. Patrick he'd look into this today,
and we could backport it to 3.3.
As an alternative, I think that messages that are ingested over email
(ie. reply to a email notification of the change) still uses classical
change messages, so you can use that as a stopgap in the meantime.It would be also good to report this to the Gerrit Trigger Plugins and Zuul, so that they can start listening to those events as well in the future.Created ticket for Jenkins Gerrit Trigger [1] and the Zuul team seems to have joined this discussion.
Luca.