Disable Jenkins remote CLI
This commit is contained in:
parent
243f5ca3f9
commit
a835c64524
|
|
@ -94,6 +94,8 @@ def remove = { list ->
|
|||
remove(jenkins.getExtensionList(RootAction.class))
|
||||
remove(jenkins.actions)
|
||||
|
||||
jenkins.getDescriptor("jenkins.CLI").get().setEnabled(false)
|
||||
|
||||
jenkins.save()
|
||||
`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue