Enable restricted declarative pipelines by default

This commit is contained in:
R. Tyler Croy 2018-01-02 13:46:26 -08:00
parent d449edfbdb
commit 44a4c354de
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/usr/bin/env groovy
/* Disable Scripted Pipeline support via the Restricted Declarative plugin */
io.jenkins.plugins.restricteddeclarative.GlobalRestrictedConfig.get().setRestricted(true)