Any idea how to use parameters from the job's environment in the Combination Filter for multi-configuration job?
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.
When using EXECUTOR_NUMBER I'm getting:
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)
Tried looking online but couldn't find any good examples - would appreciate the help