Hello,

I have a list of configuration files for 3 build rules. In future will be 
more than 3 rules, so I want to include the configurations using a forEach 
like this:

<j:forEach var="rule" items="${it.rules}">
   <st:include page="config.jelly" 
class="${rule.getClass().getCanonicalName()}"/>
</j:forEach>

But it doesn't work and no error is shown. If I put them one after the 
other one it works.

<st:include page="config.jelly" 
class="jenkins.cigame.rules.UnitTestingRule"/>
<st:include page="config.jelly" class="jenkins.cigame.rules.BuildRule"/>
<st:include page="config.jelly" class="jenkins.cigame.rules.FindBugsRule"/>

Is there a solution to this?

Thanks,
Octavian

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