Support String.eachMatch, String.findAll in Pipeline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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] }

            Assignee:
            Andrew Bayer
            Reporter:
            Sean Busbey
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: