-
Bug
-
Resolution: Duplicate
-
Major
-
None
Using this in a workflow script
def fileText = readFile('dist/index.html')
fileText = (fileText =~ /baseUrl.('.')/).replaceFirst("baseUrl: 'XXXX'")
throws this:
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.util.regex.Matcher replaceFirst java.lang.String
- duplicates
-
JENKINS-25804 Whitelisted signature presets for Java standard APIs and Jenkins core APIs
- Resolved