Got resolved.

Just put the get functions into DescriptorImpl.
Then from jelly use install.yourgetfuction() or descriptor.getyourfuction() 
will be OK.
public String getTestPlugin()() {
return "TestPlugin(branch-A)";
}

<f:section title="${instance.getTestPlugin()}">
 </f:section>


在 2019年7月29日星期一 UTC+8上午9:17:30,Boyka Zhu写道:
>
> Hi,
>
> I have one request that is need to add parentheses into the Jelly label 
> like:
> <f:section title="${%TestPlugin(branch-A)}">
>  </f:section>
>
> But this looks no works when display"(branch-A)", can someone helps? 
> Appreciate it.
>
> Thanks
> Boyka
>

-- 
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/ddf92d6d-4aa0-441a-89cf-58b69321f383%40googlegroups.com.

Reply via email to