Slackbot
06/24/2022, 9:05 AMmelix
06/24/2022, 9:05 AMmelix
06/24/2022, 9:05 AMBuildFinishedEvent, so I'm not even talking about a BuildSessionFinishedEventmelix
06/24/2022, 9:07 AMOperationCompletionListener and `BuildEventsListenerRegistry`: if I implement OperationCompletionListener, I have an onEvent method. Why would I care about a BuildEventsListenerRegistry? If I should care, how to use it?melix
06/24/2022, 9:07 AMBuildFinishedEvent and BuildSessionFinishedEvent, but I'm extremely confused that at least the 1st one doesn't exist, since it's supposed to replace buildFinished. What am I missing?Paul Merlin
06/24/2022, 9:24 AMBuildFinishedEvent or some other form of listening/reacting to the build result. The configuration cache team is working on that. I don't think they have plans for something like BuildSessionFinishedEvent.Paul Merlin
06/24/2022, 9:24 AMmelix
06/24/2022, 9:26 AMVampire
06/24/2022, 10:35 AM1. there's not even aYou currently can only receive task finish events. To do something additionally at the end of the build, you would implement, so I'm not even talking about aBuildFinishedEventBuildSessionFinishedEvent
AutoCloseable and do the action there.
the docs are not super clear about the relationship betweenYou get theand `BuildEventsListenerRegistry`: if I implementOperationCompletionListener, I have anOperationCompletionListenermethod. Why would I care about aonEvent? If I should care, how to use it?BuildEventsListenerRegistry
BuildEventsListenerRegistry to register your OperationCompletionListener. Just that it implements the interface does not mean it get any events. Only if you registered the listener you start receiving events.melix
06/24/2022, 1:12 PMAutoCloseable won't work for me: I need to make a difference between end of the current build and end of the build session. Since build services are bound to a single build, I'm out of luck (I already created a ticket for this).Vampire
06/24/2022, 4:13 PM