Skip to content

Instantly share code, notes, and snippets.

@kenych
Created March 18, 2018 16:43
Show Gist options
  • Save kenych/04f7c3c54c368e44bbf056a7a7e07849 to your computer and use it in GitHub Desktop.
Save kenych/04f7c3c54c368e44bbf056a7a7e07849 to your computer and use it in GitHub Desktop.
Jenkins scriptApproval plugin config example
scriptApproval{
approvedSignatures=[
'method groovy.util.ConfigSlurper parse java.lang.String',
'staticMethod java.lang.System getenv',
'method org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval approveSignature java.lang.String',
'staticMethod org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval get'
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment