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

ExportXMLWordPrintable

      Prior to the 2.0 upgrade, we had a set of system groovy script steps in jobs to do maintenance on the server (walk machines and clean tmp folders, etc.)

      After 2.0, because everything is run under the sandbox, to run these scenarios, I need to whitelist a bunch of methods.  However, a lot of these methods aren't ones I would like to whitelist (hudson.getInstance, etc.) because then other cases like job DSL could use them maliciously.

      Is there a way I can set up the system groovy step to not do method checks for specific jobs?

            Assignee:
            vjuranek
            Reporter:
            Matthew Mitchell
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: