Hi Jesse and Tim,

Thanks for the feedback. Let's say I remove my use of Guice, am I left with
something else to deal with dependency injection ?  Is there a Jenkins way
of dealing with this, a particular pattern advised, or should I rebuild the
dependencies myself where needed ? I'm interested in any pointer to deal
with this injection.

Thanks in advance,
Martin

--

Le mar. 29 juin 2021 à 17:14, Tim Jacomb <[email protected]> a écrit :

> The guice integration within Jenkins isn't great, the general consensus
> from people who have experienced issues with it is don't use it.
> And as soon as you hit it an issue with it rip it out if you come across
> it somewhere
>
> On Tue, 29 Jun 2021 at 15:10, Jesse Glick <[email protected]> wrote:
>
>> Guice should never have been added to Jenkins to begin with and I would
>> not recommend using it from a plugin.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr20Sjbdqq4JEcadn8L9gYyxSOAw%3DkmO7D8Q4_1Ve-cn%3DQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr20Sjbdqq4JEcadn8L9gYyxSOAw%3DkmO7D8Q4_1Ve-cn%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieWpaYGqF1R4V19H1QHVFjLe8bK0_xvo1FkfuTHWbRMnQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieWpaYGqF1R4V19H1QHVFjLe8bK0_xvo1FkfuTHWbRMnQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB9pTyuOctbUVgaNED_tkY75Qi6QYzwG_ieOrjvLdW_sKw%40mail.gmail.com.

Reply via email to