-
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
[JENKINS-46358] Support String.eachMatch, String.findAll in Pipeline
Assignee | New: Andrew Bayer [ abayer ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "groovy-cps PR #70 (Web Link)" [ 17504 ] |
Remote Link | New: This issue links to "script-security PR #145 (Web Link)" [ 17505 ] |
Remote Link | New: This issue links to "workflow-cps PR #168 (Web Link)" [ 17506 ] |
if anyone has a workaround I can use in the mean time I'd really appreciate it.