Globally prevent job creation


Is there a way or plugin to globally disable new job creation for both UI and API? I am working on migration/deprecation and want to prevent any new job being created on the old instance.


if you are using matrix or role based auth, and a user doesn’t have admin powers, then you can not give them item create.

I was hoping if there is a way to completely disable creating new jobs including Admin.

Thanks Gavin for the suggestion,

nope, admins can do everything. generally don’t give out admin unless you want them to do everything.

you could make the $JENKINS_HOME directory read only or something, but that would prevent runs too.