当前位置:网站首页>Jenkins各配置选项介绍原创
Jenkins各配置选项介绍原创
2022-06-12 19:11:00 【二丫讲梵】
配置界面总览
如下
详细配置
1, 系统设置
此处定义Jenkins的全局消息,或者是邮箱的配置。
2, 全局安全配置
主要是配置用户访问的控制,这里仅开启允许用户注册,这样的话,可以让所有开发测试小伙伴在这里以自己的名字注册自己的账号,然后运维管理人员根据他们不同的项目与权限进行规则的设置就行了。
3, 全局工具设置
里边包含了所有的代码库,或者打包工具的位置,根据情况进行设置就行。或者什么都不设置也可以。只不过以后脚本里边注意添加命令加载变量。
4, 管理插件
可参考:https://www.w3cschool.cn/jenkins/jenkins-s5xk28l5.html
里边有丰富的插件提供,详细的插件功能,不多赘述,有几个重要的需要在:
- ant:打包的
- LDAP:就是上边的访问控制功能
- Git:从代码库拉取代码
- Role-Based Strategy:角色管理。
- Email Extension Plugin: (邮件通知)
- Publish Over SSH: (远程Shell)
- Maven Integration plugin:Maven集成,否则新建的时候没有Maven Project
- Monitoring:监控Jenkins所消耗的系统资源,如内存使用等
5, 管理节点
如果服务器数量过于庞大,则可能会使用到主从式的集群进行构建发布。
6, 管理用户
这些用户能够登录到Jenkins。这是列表的子集,也包括那些只是提交了代码到某些项目但是从未登录Jenkins而自动创建的用户。这是官方的介绍,点击用户后边的设置,还可以更改他的信息以及密码的重置等。
7, 小黄锁。
需要安装插件Role-Based Strategy
此处可以参考:
所有的用户分组规则权限都在这里设置了。
管理角色是规则的设置
1,全局变量的设置,也可以理解成是组的添加设置,这里只设置出了开发者一个组。也可以通过下边的add新增。他们对全局有读的权限就好了。
2,项目的分组。这个地方有点像Git里边的权限了,有分组的,也有项目的,经过这样两层的过滤,基本上每个人都会有合适的权限了。
分配角色
这里边就是对每个人的权限进行具体的分配了。这里边的又是与上边全局配置的规则对应的,因此先add把人添加进来,然后在后边勾选合适的权限就可以了。
注意不同人身份的不同权限设置。
现在,基本上对Jenkins的基础配置已经完成了,接下来就能够进行项目的构建与部署了。
边栏推荐
- A fruitful afternoon
- [5gc] Introduction to three SSC (session and service continuity) modes
- Istio 1.14 release
- Meituan won the first place in fewclue in the small sample learning list! Prompt learning+ self training practice
- On how to make digital transformation after the loan of large policy banks- Yixinhuachen
- Leetcode 1049. Weight of the last stone II
- Istio 1.14 发布
- Leetcode 1049. 最后一块石头的重量 II
- Delivery lead time lightweight estimation practice - Notes
- 3GPP RAN第一次F2F会议,都干了些啥?
猜你喜欢

【观察】华为下一代数据中心,为广西低碳高质量发展“添动能”

Exploration of a flexible injection scheme for istio sidecar

A journey of database full SQL analysis and audit system performance optimization

吃饭咯 干锅肥肠 + 掌中宝!
![[image denoising] image denoising based on anisotropic filtering with matlab code](/img/3d/ee2e36b15b5db2502e43f6945685c5.png)
[image denoising] image denoising based on anisotropic filtering with matlab code

5G R17标准冻结,主要讲了些啥?

DACOM G150 dual-mode earphones make sound for love and protect the healthy growth of children's hearing

I was badly hurt by the eight part essay...

Super heavy! Apache Hudi multimode index optimizes queries up to 30 times

3GPP RAN第一次F2F会议,都干了些啥?
随机推荐
Standard library template learning introduction original
Research Report on the overall scale, major manufacturers, major regions, products and application segments of lifeboats in the global market in 2022
Transactions in redis
Detailed explanation of yolox network structure
OpenGL shadow implementation (hard shadow)
【矩阵论 & 图论】期末考试复习思维导图
In 2021, the global revenue of chlorinated polyvinyl chloride (CPVC) was about $1809.9 million, and it is expected to reach $3691.5 million in 2028
leetcode:5259. Calculate the total tax payable [simple simulation + see which range]
Uniapp uses the Ali Icon
leetcode:6097. Match [set record + query one by one with the same length] after replacing characters
Observe the page of the website
leetcodeSQL:578. Questions with the highest response rate
什么是网络代理
Mysql database (28): Variables
review.js ppt数学公式无法显示
RT thread simulator builds lvgl development and debugging environment
【0008】无序列表
The Bean Validation API is on the classpath but no implementation could be found
Leetcode 416. 分割等和子集
吃饭咯 干锅肥肠 + 掌中宝!