This message was deleted.
# configuration-cache
s
This message was deleted.
d
If yes, can we pass any class to BuildServiceParameters ? I tried to pass my listener but it cannot be serialized.
v
I think it must be a managed type or at least be Java
Serializable
and only with the supported facilities as documented in the userguide, to give it as parameter, so that it can be stored in the cache entry. If you call that setter at configuration time and read it at execution time, it will of course not work / be
null
when CC is reused, because the build service is created afresh, so except with using the parameters, you cannot safely transport state from configuration phase to execution phase.