Den mandag den 21. oktober 2013 17.40.00 UTC+2 skrev Jesse Glick: > > On Mon, Oct 21, 2013 at 10:20 AM, Ronni Elken Lindsgaard > <[email protected] <javascript:>> wrote: > > Is it possible to check/read the value of a specific configuration field > > only with an instance of a Project? > > From inside the Jenkins JVM, or via the REST API? What kind of > “configuration field” are you talking about? >
>From the Jenkins JVM preferably. I would like to access settings of a BuildWrapper class that I myself have defined - I would like to check whether a specific checkmark is set or not, but if possible also access general project configuration settings. For instance: I can get a publisher with project.getPublishersList().get(MyPublisher.class) - what I want to do is project.getBuildWrappers().get(MyBuildWrapper.class) or similar allowing my to get the instance of my BuildWrapper and then I can check the value myself. If it is possible to get this value from the REST API that will suffice :) -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
