I understand that, but if I'm not using [inline="true"] then the data is 
persisted regardless of the optionalBlock checked value because the data is 
passed as independent Strings, 

I'm trying to achieve a similar behavior without the inline property, 
because of an issue tracked here 
https://github.com/jenkinsci/jenkins/pull/2193#issuecomment-229435236


thanks for the help so far.

On Thursday, June 30, 2016 at 12:05:50 AM UTC+1, Jesse Glick wrote:
>
> On Tue, Jun 28, 2016 at 2:30 PM, Tiago Lopes <[email protected] 
> <javascript:>> wrote: 
> > The issue is that the values in the data field are not persisting, if I 
> > uncheck, exit config, go back to config and check the block, the data 
> fields 
> > are empty. 
>
> Well, that is the general behavior of optional blocks in Jenkins. If 
> you want to go back to some earlier version of the configuration, try 
> restoring a backup. 
>

-- 
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/f59a24a9-4009-456f-96e3-d3baf678f031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to