mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-08 17:16:48 +02:00
Disable Jenkins remote CLI
This commit is contained in:
@@ -94,6 +94,8 @@ def remove = { list ->
|
||||
remove(jenkins.getExtensionList(RootAction.class))
|
||||
remove(jenkins.actions)
|
||||
|
||||
jenkins.getDescriptor("jenkins.CLI").get().setEnabled(false)
|
||||
|
||||
jenkins.save()
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user