> On 2. Feb 2018, at 17:12, Dave Hallam <[email protected]> wrote: >
> Is there a reason why not? No such parameter type in Jenkins (without plugins) -- wouldn't make sense for other job types that typically receive values and env vars anyway. > I know I could disable the sandbox for the latter issue, but I'd rather not - > it would make more sense to be able to provide a numeric type to the pipeline > in the first place. Or maybe for the Sleep step to try to coerce the string > to an int via DescribableModel.java. You could also approve (as admin) the use of this method via Manage Jenkins ยป In-Process Script Approval. Would also make a good addition to https://github.com/jenkinsci/script-security-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist -- toInteger is already whitelisted, these are not. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/FCC8DC90-9CD4-4A78-9434-6B3EFDC98A39%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
