I just ran into the same issue and managed to solve this by following the 
steps describe here 
<https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block> in 
the section *Reusable Configure Blocks* (just at the very end of the page).
>
> Extracting this to a Closure ensures that the parameters get evaluated 
immediately.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to