[JIRA] [script-security-plugin] (JENKINS-32688) workflow scripts can't use String.replaceFirst( string, string )

2016-05-27 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Bayer resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
This was added in script-security 1.19. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-32688 
 
 
 
  workflow scripts can't use String.replaceFirst( string, string )  
 
 
 
 
 
 
 
 
 

Change By:
 
 Andrew Bayer 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [script-security-plugin] (JENKINS-32688) workflow scripts can't use String.replaceFirst( string, string )

2016-01-29 Thread michael.sch...@fmr.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Scharp updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32688 
 
 
 
  workflow scripts can't use String.replaceFirst( string, string )  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Scharp 
 
 
 

Priority:
 
 Minor Major 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [script-security-plugin] (JENKINS-32688) workflow scripts can't use String.replaceFirst( string, string )

2016-01-29 Thread michael.sch...@fmr.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Scharp updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32688 
 
 
 
  workflow scripts can't use String.replaceFirst( string, string )  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Scharp 
 
 
 
 
 
 
 
 
 
 script-security 1.18{{org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.lang.String  substring int  replaceFirst java.lang.String java.lang.String }}eg:  {{someString. substring replaceFirst (  10 );}}workaround: {{someString.substring( 10  "a" ,  someString.length(  "b" )  ) ;}} which is slightly annoying and makes the Jenkinsfile more verbose than necessary.Related to: https://issues.jenkins-ci.org/browse/JENKINS-29541 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [script-security-plugin] (JENKINS-32688) workflow scripts can't use String.replaceFirst( string, string )

2016-01-29 Thread michael.sch...@fmr.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Scharp created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32688 
 
 
 
  workflow scripts can't use String.replaceFirst( string, string )  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Jesse Glick 
 
 
 

Components:
 

 script-security-plugin 
 
 
 

Created:
 

 29/Jan/16 4:29 PM 
 
 
 

Labels:
 

 workflow 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Michael Scharp 
 
 
 
 
 
 
 
 
 
 
script-security 1.18 
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.lang.String substring int 
eg: someString.substring( 10 ); 
workaround: someString.substring( 10, someString.length() ); 
which is slightly annoying and makes the Jenkinsfile more verbose than necessary. 
Related to: https://issues.jenkins-ci.org/browse/JENKINS-29541