Hi,

I've been trying to implement a JobProperty which is not visible to the user. 
Its only purpose is to store a String together with the job configuration.
I created a class which extends JobProperty and in that class I created a 
public static class extending JobPropertyDescriptor. I put @Extension on this 
descriptor. The JobProperty I created only contain a String and a setter/getter 
for it.

The problem I'm having is that it says my descriptor is missing! 

I tried replacing the JobProperty and JobPropertyDescriptor with 
AbstractDescribableImpl and Descriptor<MyClass> respectively, and this works, 
i.e. no missing descriptor warning. However, this the String I want to persist 
won't be saved in the job configuration, it will be saved in a separate XML 
file in the Jenkins home directory.

Please help, this is so frustrating.

-- 
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.

Reply via email to