On Mon, Feb 4, 2019 at 7:46 AM martinda <[email protected]> wrote:
> How do I read the jenkins global configuration values introduced by my custom 
> plugin (or other global config values in general), in a plugin unit test.

https://github.com/jenkinsci/archetypes/blob/677f8cf5b62184926a1994d76fcfb708351b70ab/global-configuration/src/main/resources/archetype-resources/src/test/java/SampleConfigurationTest.java#L32

for example. Start by playing with the archetype until you understand
how it works, then apply similar patterns to your real code.

-- 
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/CANfRfr2hZhm81i0uvhTfpe%3DK6z8owe%3Dy34GUW20OHad4Uw7N_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to