On Thu, Mar 22, 2018 at 9:16 AM Jesse Glick <[email protected]> wrote:

> KK wrote:
> > I wonder if it'd be nice if Jenkinsfile Runner can do something like the
> > permissive mode of SELinux, where it runs your pipeline entirely and spit
> > out the approvals it needed?
>
> https://plugins.jenkins.io/permissive-script-security


Great, I need to take a look at that. I'm tracking this in
https://github.com/kohsuke/jenkinsfile-runner/issues/14

> so instead of invisible WorkflowJob, we create invisible WorkflowRun,
> right?
>
> Yes, that seems to be the safest approach.
>
> > I was thinking you'd just put assert statements into Jenkinsfile and
> that should already work. Granted, I haven't tried it so maybe it doesn't
> work.
>
> Groovy “power-asserts” work in Pipeline script as far as I know.
>

Yeah.

-- 
Kohsuke Kawaguchi

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CAN4CQ4w5UvgkmGPbT_dyMY0FmkmigD2-v%3Dte3WYnL8WacVduOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to