Skip to content

Instantly share code, notes, and snippets.

@matthiasbaldi
Created February 19, 2019 15:23
Show Gist options
  • Save matthiasbaldi/7839e9d337115b5d3271e81f570f912a to your computer and use it in GitHub Desktop.
Save matthiasbaldi/7839e9d337115b5d3271e81f570f912a to your computer and use it in GitHub Desktop.
Jenkins Allow Administrator to generate API Tokens
// execute the following line in <yourjenkins>/script script console
// and then you can generate for every user tokens <yourjenkins>/user/<username>/configure
jenkins.security.ApiTokenProperty.ADMIN_CAN_GENERATE_NEW_TOKENS = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment