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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: pipeline
    • None

      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
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: