Closed nickgrealy closed 8 years ago
First of all, thanks for taking the time to contribute! It's much appreciated, and I'm sure it will help others.
Having a quick look at the code:
Queue.*
, ,Run.*
, etc)processEvents
method, how it cleans up some of the boiler plate codeThings I'd like to see:
Things I need to add:
Screenshot... is length of the config widget going to be a problem here/are there any other display options?
Otherwise, looks good.
Code looks very good! Especially after refactoring for boilerplate code! @llaaiiqq, you did a great job!
Btw, can we add events in same interface as Jenkins does for "build steps"? Just list where you can pick up only one element.
Btw, can we add events in same interface as Jenkins does for "build steps"?
@Jimilian - Do you mean using an "Add" button (like below), to add events that will be listened to? (If so, sounds great! Can you throw something together?)
Thanks for the feedback folks! PR incoming in a minute.
Regarding the config widget length - yeah, that going to get unmanageable in a hurry. Maybe just have all events always enabled and let the user pick and choose in their event handling script?
@nickgrealy Yes, I was talking about it, unfortunately, I'm not a Jelly expert. Probably, we can ask on Jenkins-dev.
@llaaiiqq It's a bad idea, because it will create huge overhead. Especially if synchronized
is enabled.
@llaaiiqq has asked if we can provide some thoughts/insight/feedback before he submits a pull request:
Fork is here: https://github.com/llaaiiqq/groovy-events-listener-plugin/commits/master
@Jimilian - just wanted your input as well, as you've been large contributor to date.