codevalet/init.groovy.d/disable-cli.groovy

7 lines
96 B
Groovy

#!/usr/bin/env groovy
/*
* Disable the CLI by default
*/
jenkins.CLI.get().setEnabled(false)