title: Using environment parameters in the combination Filter for multi-configuration project in Jenkins
body: <p>Any idea how to use parameters from the job's environment in the Combination Filter for multi-configuration job? </p>
  
  <p>I've tried : 
  index%3 == 0 and it's working properly, but I want to replace (3) with ${EXECUTOR_NUMBER} to make the runs more dynamic. </p>
  
  <p>When using EXECUTOR_NUMBER I'm getting: </p>
  
  <pre><code>javax.servlet.ServletException: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (Script1 $ Script1$_run_closure1)
  </code></pre>
  
  <p>Tried looking online but couldn't find any good examples - would appreciate the help</p>