Skip to content

Instantly share code, notes, and snippets.

@ryo-murai
Created April 1, 2020 06:06
Show Gist options
  • Save ryo-murai/ca424f4b924aecdebc5a8422e1ae71be to your computer and use it in GitHub Desktop.
Save ryo-murai/ca424f4b924aecdebc5a8422e1ae71be to your computer and use it in GitHub Desktop.
Jenkins Active Directory連携とロールベース認可

JenkinsでActive Directory連携とロールベース認可をする覚書

plugins

Active Directory

Role based Auth

  • Jenkinsの管理 > Manage and Assing Roles > Manage Roles
    • Global rolesに developers を追加し、全体/Administer 以外にチェックをする(ジョブは自由実行、Jenkins管理はできない)
    • Global rolesに anonymous を追加し全体/ジョブ/ビューの DiscoverとReadを許す。全体のReadがないと見れない。
  • Jenkinsの管理 > Manage and Assing Roles > Assign Roles
    • authenticatedグループを追加し、developersロールを対応付ける
    • anonymousグループに anonymousロール を対応付ける
    • 管理者となるユーザを1つずつ追加し、adminと紐づける。LDAP検索エラーがでるが気にしない
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment