What feature do you want to see added?
In my pipeline i want to use the replaceFirst method but Jenkins requires a script approval for
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods replaceFirst java.lang.String java.util.regex.Pattern java.lang.String
I had a look into the script whitelist file and found some entries for StringGroovyMethods but also for this signature no entry exist. Only for the closure versions.
Upstream changes
No response
Are you interested in contributing this feature?
yes