Skip to content

Instantly share code, notes, and snippets.

@thall
Created March 24, 2016 07:29
Show Gist options
  • Save thall/6f3b0358e113722ad3fc to your computer and use it in GitHub Desktop.
Save thall/6f3b0358e113722ad3fc to your computer and use it in GitHub Desktop.
Jenkins 2.0 Matrix
...
GlobalMatrixAuthorizationStrategy strategy = new GlobalMatrixAuthorizationStrategy()
strategy.add(Jenkins.ADMINISTER,'authenticated')
Jenkins.getInstance().setAuthorizationStrategy(strategy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment