Jenkins Series --DevOps efficient plug recommend [turn]

Realize their continued delivery and DevOps platform is based on plug-Jenkins and ecology.

Users and Permissions

Jenkins Jenkins Administration user rights management is a very important part, since most companies will have their own domain control management, and so on LDAP integration and user group permissions model to achieve design and management is an important enterprise Jenkins practice.

  • LDAP L ( https://plugins.jenkins.io/ldap ), the plug-in allows the user authentication using LDAP, LDAP server or an Active Directory OpenLDAP.
  • Active Directory L  https://plugins.jenkins.io/active-directory , this plug-in allows use Active Directory to authenticate the user, combined as Matrix Authorization Strategy plug, the user can recognize all user's group, for flexible user authorization configuration.
  • l based on Windows  the Active Directory domain management conducted business, recommended Active Directory.
  • Authentication GitHub L  https://plugins.jenkins.io/github-oauth , this plugin provides the use GitHub user authentication and authorization scheme.
  • Authentication gitlab L  https://plugins.jenkins.io/gitlab-oauth , this plugin provides the use of GitLab user authentication and authorization scheme.
  • the Matrix the Authorization at Strategy L  https://plugins.jenkins.io/matrix-auth , this plugin provides authorization policies based matrix supports global and project-level configuration.
  • the Authorization at Strategy Role-based L  https://plugins.jenkins.io/role-strategy , this plugin provides a role-based (Role) user rights management policy, supports the creation of global roles, Project Role, Slave roles, as well as to users assign these roles. This plug-in is the most common Jenkins rights policy and management plug-ins.

Code Management

Jenkins configured in the project Source Code Management download code to build tasks, it is a very common scenario. Jenkins plugin supports many SCM systems, using the most common Git and SVN.

Project and view

Jenkins in the management of the Project and the view, user daily work is to use a lot of features.

  • Folder L  https://plugins.jenkins.io/cloudbees-folder , this plugin allows users to use directory management program, support for nested directories, and supports the creation of views directory.
  • l List view Jenkins supported by default List types of views, the user can create a project List view filter concerns.
  • View sectioned L  https://plugins.jenkins.io/sectioned-view , this plug supporting a new view, the view can be divided into a plurality of portions, each portion may be configured to display the selected information item individually.
  • Nested View L  https://plugins.jenkins.io/nested-view , this plugin supports a new view, it represents a direct display items, but display applet contains a directory icons, each sub-view displays selected project information.
  • Build Pipeline L  https://plugins.jenkins.io/build-pipeline-plugin , this plug is provided a Build Pipeline views for display on the relationship between the downstream project build.

Construction of the trigger

Build Jenkins supports multiple trigger modes, especially some of the automatic trigger mode is useful

  • l Build periodically, Jenkins built-in functionality can be provided similar crontab time, periodically triggered automatically constructed.
  • l Poll SCM, Jenkins built-in functionality similar Build periodically, crontab may be provided similar time, a different construct is not directly, but there is periodically updated in the background check SCM configured, only when there are only code updates trigger a build.
  • l Trigger builds remotely (eg, from scripts), Jenkins built-in features, remote trigger a build, by setting the token can support remote script trigger Jenkins building.
  • Gerrit the Trigger L  https://plugins.jenkins.io/gerrit-trigger , this plugin will be integrated into the Gerrit code review Jenkins, the support configuration information Gerrit Jenkins servers, achieve Gerrit event trigger Jenkins building.
  • gitlab L  https://plugins.jenkins.io/gitlab-plugin , this plugin will be integrated into GitLab web hook Jenkins, the support Gitlab branch and Merge Request other related events trigger Jenkins building.
  • GitHub Integration L  https://plugins.jenkins.io/github-pullrequest  , this plug-in will integrate GitHub Jenkins, the support Gitgub branch and Pull requests trigger Jenkins building.
  • JIRA the Trigger L  https://plugins.jenkins.io/jira-trigger , this plugin will be integrated into Jira WebHooks Jenkins, the support of the state Jira issue of building and other changes triggered when Jenkins.

Build parameters

Jenkins addition to supporting common parameter types (boolean, string, multi-line text type, select the type and file type), there are some practical plug-in support richer types of parameters, dynamic parameters such as inter-related, multi-level parameters, hidden parameters.

  • nodelabelparameter L   https://plugins.jenkins.io/nodelabelparameter , this plug-in adds a new parameter type, Node and Label, so that the user can select the items to build nodes running parameter.
  • l other plug-ins do not list them, see the plugin description

Ø  https://plugins.jenkins.io/hidden-parameter

Ø  https://plugins.jenkins.io/extended-choice-parameter

Ø  https://plugins.jenkins.io/validating-string-parameter

Ø  https://plugins.jenkins.io/extensible-choice-parameter

Ø  https://wiki.jenkins.io/display/JENKINS/Active+Choices+Plugin

Construction of the task and the environment

Around the building task, there are many small plug-in, but it provides some useful features

Construction of notification

The state promptly notify the user to build, it is an essential feature of Jenkins. Jenkins supports a variety of active and passive way of notification.

  • Mailer L   https://plugins.jenkins.io/mailer , this plugin supports basic mail notification function, such as failure to build and build successful recovery can send e-mail notification to the relevant personnel.
  • Email Extension L  https://plugins.jenkins.io/email-ext , this plugin is an extension of e-mail notifications, support for custom message content, trigger conditions and mail recipient, the notification function than the basic message to be more flexible and powerful.
  • Slack the Notification L  https://plugins.jenkins.io/slack , this plug-in supports the build results pushed Slack channel.

Container of Slave

Jenkins' Master-Slave architecture enables distributed build, can fully scale-Slave to enhance the ability to build, the Slave of the container is the mainstream way to build a standardized environment, clustering and elasticized.

  • L   https://plugins.jenkins.io/docker-plugin , this plugin can be configured docker host, thus providing dynamic Jenkins Agent (Slave), and then run the build destroy the slave.
  • L   https://plugins.jenkins.io/kubernetes , the use of plug-in supports dynamic Kubernetes Cluster provide Jenkins Agent (Slave), the scheduling mechanism to optimize the use of Kubernetes Jenkins loads.

Admin related plug-ins

Guess you like

Origin www.cnblogs.com/liuyitan/p/11288210.html