-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topic Changed Event does not propagate patch set #119
Comments
That looks like a bug in the Jenkins Gerrit Trigger plugin, not this library? Or does the topic-changed event contain the patchset number but it isn't read correctly by this library? |
@rsandell the log is from the Gerrit Trigger Plugin. Quick question since I saw this during debugging: https://github.com/sonyxperiadev/gerrit-events/blob/master/src/main/java/com/sonymobile/tools/gerrit/gerritevents/dto/events/TopicChanged.java#L125
Why is e.g. the From the Gerrit Docs https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html they metion:
But what I get with a test is the following (Gerrit vers. 3.7.0.): So there is no
|
An event is not "scorable" when it is no longer possible to "vote" on the change, e.g. set Verified +1. For example when a change is merged it sends out a change merged event that Jenkins can trigger on, but the result of the build can't be scored so Jenkins will then only add a comment. Why this event was deemed not scorable we would have to ask the original author @dpursehouse and hope he can remember that far back :) |
ok thanks for the quick answer, then my assumption was correct and from my understanding the |
I guess I implemented it like that because a topic change doesn't cause any approvals to be removed and thus it doesn't need to be re-scored. Or maybe I just copy and pasted the code from another event. Sorry, it was a long time ago and I can't remember exactly. |
Hello,
When a topic changed event is triggered the event does not contain a patchset:
This causes the our jenkins to being unable to send messages to gerrit changes where the topic was changed.
The text was updated successfully, but these errors were encountered: