[JIRA] (JENKINS-46882) Scripts not permitted to use new java.lang.Exception java.lang.String

2019-04-09 Thread antoine.t...@thales-services.fr (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Antoine Tran commented on  JENKINS-46882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Scripts not permitted to use new java.lang.Exception java.lang.String   
 

  
 
 
 
 

 
 Using script-security 1.53, this is not reproducible anymore. I can throw new Exception(String) without preapproval. Should be closed.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-46882) Scripts not permitted to use new java.lang.Exception java.lang.String

2018-11-20 Thread jenk...@richardlee.name (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Richard Lee commented on  JENKINS-46882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Scripts not permitted to use new java.lang.Exception java.lang.String   
 

  
 
 
 
 

 
 Using script-security 1.44, but getting  org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use new java.lang.IllegalArgumentException java.lang.String Shouldn't that be allowed?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-46882) Scripts not permitted to use new java.lang.Exception java.lang.String

2018-04-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Merged, will be in script-security 1.44.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-46882  
 
 
   Scripts not permitted to use new java.lang.Exception java.lang.String   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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

[JIRA] (JENKINS-46882) Scripts not permitted to use new java.lang.Exception java.lang.String

2018-04-17 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-46882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Scripts not permitted to use new java.lang.Exception java.lang.String   
 

  
 
 
 
 

 
 Code changed in jenkins User: James Hogarth Path: src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist http://jenkins-ci.org/commit/script-security-plugin/b4584131f5580fd7bc8dfe63e11fea8a9ea6cbff Log: JENKINS-46882 allow new Exceptions to be thrown new Execption("foo") is currently not permitted, but is very useful to do and is a standard/safe thing in a Jenkinsfile  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-46882) Scripts not permitted to use new java.lang.Exception java.lang.String

2018-04-17 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-46882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Scripts not permitted to use new java.lang.Exception java.lang.String   
 

  
 
 
 
 

 
 Code changed in jenkins User: Andrew Bayer Path: src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist http://jenkins-ci.org/commit/script-security-plugin/d0ef83d271d3c93176562146345dc042d4eefcbb Log: Merge pull request #198 from hogarthj/JENKINS-46882 JENKINS-46882 allow new Exceptions to be thrown Compare: https://github.com/jenkinsci/script-security-plugin/compare/9d642ae73c88...d0ef83d271d3  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.