Restrict what jobs can run on nodes created by the Kubernetes plugin

16 views
Skip to first unread message

Adam Dougal

unread,
Aug 28, 2018, 6:31:20 AM8/28/18
to Jenkins Users
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?

Carlos Sanchez

unread,
Aug 28, 2018, 6:42:01 AM8/28/18
to Jenkins Users
There is a way to restrict it by folder

I realized that it was never added to the docs


--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1b4eeba0-4002-4b18-8865-067a09cd4e45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adam Dougal

unread,
Aug 28, 2018, 8:55:53 AM8/28/18
to Jenkins Users
Ah thanks for the quick reply. I'll take a look and have a play.

Adam Dougal

unread,
Aug 29, 2018, 6:04:03 AM8/29/18
to Jenkins Users
This is exactly what I needed, thanks!

On Tuesday, August 28, 2018 at 11:42:01 AM UTC+1, Carlos Sanchez wrote:
Reply all
Reply to author
Forward
0 new messages