On Wed, May 6, 2015 at 2:03 PM, Samith Dassanayake <[email protected]> wrote: > According to […] it is possible to define properties for a folder > that are visible to jobs inside. Assume I want to add a property > "testProperty" and I want to access it from the job. How can I achieve that?
You would need a dependency on the cloudbees-folder plugin, then define a FolderProperty class (very similar to JobProperty), and check for its presence on a Folder which contains a Job (getParent or transitively). -- 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/CANfRfr3u2iLmO%2BPUikVnH_ARCRO31NjiUsDM7pkwZeAAF3%3DuAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
