I want to use a JobPropertyDescriptor, where add a creator property, it’s saved
when job is created, and cannot be changed later, so we went this property is
visible to user.
public final class JobCreatorProperty extends JobProperty<AbstractProject<?,?>>
{
private String creator;
public String getCreator(){
return creator;
}
public void setCreator(String creator){
this.creator = creator;
}
@Extension
public static final class DescriptorImpl extends JobPropertyDescriptor{
public DescriptorImpl(){
super(JobCreatorProperty.class);
…
}
发件人: Walter Kacynski [mailto:[email protected]]
发送时间: 2013年2月5日 1:10
收件人: [email protected]
抄送: Shen,Hui
主题: Re: how to implement an invisible job property plugin
I'm interested in doing something similar. Which jelly file are you referring
to?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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.