当前位置:网站首页>Jenkins自动清理构建历史
Jenkins自动清理构建历史
2022-07-01 03:33:00 【勤奋的树懒】
构建的时候老是因为磁盘空间不足导致构建失败,如下jenkins服务器已经占用87%空间(这还是因为构建失败手动清理了一些历史构建才空出来一些空间)
jenkins是支持自动删除旧的历史构建的,如下需要自己勾选设置
我这里前端发的比较少没几个,主要是后端
进入发版比较多的工程(需要每个工程进去都设置一遍不能应用全局)
比如我这里的沙盒环境的发版,可以看见我这里的构建历史一眼过去看不到底
点击左侧栏目的配置
在General下勾选丢弃旧的构建
这里我设置只保存7天内的构建且只保存近7次的历史
也可以点击右下角的“高级”按钮
设置发布包的保留天数和个数
稍等一下再刷新查看
可以看见都已经自动删除旧的构建历史了
在回到jenkins服务器查看磁盘情况已经降到67%了,效果还是比较显著的。
边栏推荐
- 165. 比较版本号
- Appium自动化测试基础--补充:C/S架构和B/S架构说明
- Explain spark operation mode in detail (local+standalone+yarn)
- 187. 重复的DNA序列
- 访问阿里云存储的图片URL实现在网页直接预览略缩图而不直接下载
- 【JPCS出版】2022年第三届控制理论与应用国际会议(ICoCTA 2022)
- JMeter login failure, extracting login token, and obtaining token problem solving
- The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)
- 72. edit distance
- What does ft mean in the data book table
猜你喜欢

MFC window scroll bar usage

431. 将 N 叉树编码为二叉树 DFS

LeetCode 128最长连续序列(哈希set)

Sort linked list (merge sort)

Develop industrial Internet with the technical advantages of small programs

【TA-霜狼_may-《百人計劃》】1.2.1 向量基礎

Jeecgboot output log, how to use @slf4j

Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)

Implement pow (x, n) function

The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list
随机推荐
205. isomorphic string
[TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions
JMeter login failure, extracting login token, and obtaining token problem solving
Pyramid scene parsing network [pspnet] thesis reading
168. Excel表列名称
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
TEC: Knowledge Graph Embedding with Triple Context
Asgnet paper and code interpretation 2
8. 字符串转换整数 (atoi)
Appium fundamentals of automated testing - basic principles of appium
Binary tree god level traversal: Morris traversal
318. Maximum word length product
【TA-霜狼_may-《百人计划》】1.2.2 矩阵计算
What happens when a function is called before it is declared in C?
【TA-霜狼_may-《百人计划》】1.2.3 MVP矩阵运算
【伸手党福利】开发人员重装系统顺序
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
Why can't you find the corresponding function by clicking go to definiton (super easy has a diagram)
Its appearance makes competitors tremble. Interpretation of Sony vision-s 02 products
静态库使用MFC和共享库使用MFC的区别