How to set default value for label expression in Jenkins project configure page

Viewed 2980

currently I got a request that I need to block all build jobs in Jenkins master, every jobs must be built in slaves.

So I would like to configure every new job in Jenkins will be default checked in "Restricted where this project can run", and then a default value for Label Expression, e.g. "docker-slave". So that everytime dev create a new job, they don't have to choose which jenkins slave will be used (actually they don't want to do it).

I would like this to be default for every new job <-

Any help would be appreciated. Thanks a lot.

1 Answers
Related