logo       

Re: JobProperty Questions: msg#00100

java.hudson.user

Subject: Re: JobProperty Questions

Eric Crahen wrote:
Great. One more question, from an instance of the JobDescriptor associated
with a Job, how can I see the instance associated with the system config, in
order to merge the settings?

The system config is usually stored in Descriptor instance, which you can get from a static instance (which is usually available by calling "getDescriptor()".)

See Ant.java for example. It gets the path to Ant from its Descriptor instance.


--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi@xxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise