There is a way to restrict it by folder https://github.com/jenkinsci/kubernetes-plugin/pull/282/
I realized that it was never added to the docs On Tue, Aug 28, 2018 at 12:31 PM Adam Dougal <[email protected]> wrote: > Hi, Is there any way to restrict what jobs can run on nodes created using > the Kubernetes plugin? > > I've seen the https://plugins.jenkins.io/job-restrictions but it does not > look like this integrates with either the Kubernetes plugin or Jenkins > pipelines. > > Is this something that would be useful as a native feature of the > Kubernetes plugin itself? > > -- > 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/1b4eeba0-4002-4b18-8865-067a09cd4e45%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/1b4eeba0-4002-4b18-8865-067a09cd4e45%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALHFn6MutuOyH21x%2BQ21%2BNnNPWT1ynK%3DOyfveCSYfzWaumhr8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
