> and suddenly it's needed after bumping the LTS.

The implementation changed and now it relies on having a valid
Jenkins context as it relies on resolving implementation of an extension
point (wasn't the case before).

Vincent


Le mar. 17 juin 2025 à 19:29, 'Jesse Glick' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> a écrit :

> On Tue, Jun 17, 2025 at 10:57 AM Radek Antoniuk <radek.anton...@gmail.com>
> wrote:
>
>> proper integration tests with `JenkinsRule` or one of its variants.
>>
>>
>> By the variants you mean @WithJenkins @WithoutJenkins, right?
>>
>
> I actually meant `JenkinsSessionRule` and `RealJenkinsRule`.
> `@WithJenkins` is I guess the JUnit 5 version of `JenkinsRule`.
> `@WithoutJenkins` just turns off `JenkinsRule` for one test method;
> arguably clearer to use `JenkinsSessionRule`, in which case some methods
> may simply decline to start Jenkins even once.
>
> --
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2%3D%2BkSy1SZZP8kMOuuUNm5hubRT7CgPZFLZRfZ5PyfKog%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2%3D%2BkSy1SZZP8kMOuuUNm5hubRT7CgPZFLZRfZ5PyfKog%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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAH-zGCi7sSrVhG0_j02OFQTgczMP6vwZeh8iTuGpJ5gELF4dNA%40mail.gmail.com.

Reply via email to