-
Improvement
-
Resolution: Fixed
-
Minor
-
None
I'd like the ability to iterate over regex matches against a string.
Thus far my attempts at using eachMatch and findAll have both met a similar end:
00:04:43.237 Got exception: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods eachMatch java.lang.String java.lang.String groovy.lang.Closure [Pipeline] }
- is duplicated by
-
JENKINS-39944 String::replaceAll method in groovy script works not as described in man.
-
- Resolved
-
- links to
if anyone has a workaround I can use in the mean time I'd really appreciate it.