Sleep step is being blocked by script-security when used outside a node step

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

XMLWordPrintable

      sleep 50
      

      If sandbox is activated, this script fails:

      org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method org.jenkinsci.plugins.workflow.cps.CpsScript sleep long
      

            Assignee:
            Jesse Glick
            Reporter:
            Antonio Muñiz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: