当前位置:网站首页>Jenkins learning (III) -- setting scheduled tasks
Jenkins learning (III) -- setting scheduled tasks
2022-07-03 09:14:00 【Fill your head with water】
Set timing task
It is obviously not convenient to build the project manually every time , Sometimes you need to execute automated test scripts regularly . for example , Execute regularly every night xxx File to run automated test projects .
1. Set timing task
Previously created “test001” Project as an example , Click on the left side of the item “ To configure ” Options , Modify the configuration of the project .
find Build trigger , Check Build periodically( Time to build ) Options .
By viewing the setting instructions , Here, the format of scheduled tasks follows cron The grammar of ( It can be done with cron There are slight differences in grammar ).
The specific format , Each row contains five fields , adopt Tab Or separated by spaces .
2. Timing rule grammar :
| Field | * | * | * | * | * |
|---|---|---|---|---|---|
| meaning | minute | Hours | date | month | week |
| Value range | 0-59 | 0-23 | 1-31 | 1-12 | 0-7 |
| The rules | |||||
| Specify a time frame | a-b | ||||
| Specify the time interval | / | ||||
| Specify the variable value | a,b,c |
Example :
1. every other 15 Once per minute
```
H/15 * * * *
```
2. every other 2 Once an hour
```
H H/2 * * *
```
3. every other 3 Once a day
```
H H H/3 * *
```
4. every other 3 Once a day ( Monthly 1-15 Number )
```
H H 1-15/3 * *
```
5. Once a week 1,3,5 Do it once
```
H H * * 1,3,5
```
1.
边栏推荐
- Binary tree sorting (C language, char type)
- Data mining 2021-4-27 class notes
- How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
- Find the combination number acwing 886 Find the combination number II
- [point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
- Digital statistics DP acwing 338 Counting problem
- Common penetration test range
- Tree DP acwing 285 A dance without a boss
- 树形DP AcWing 285. 没有上司的舞会
- [point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
猜你喜欢

DOM render mount patch responsive system

LeetCode 75. Color classification

Tree DP acwing 285 A dance without a boss

Data mining 2021-4-27 class notes

【点云处理之论文狂读经典版14】—— Dynamic Graph CNN for Learning on Point Clouds

【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis

状态压缩DP AcWing 91. 最短Hamilton路径

干货!零售业智能化管理会遇到哪些问题?看懂这篇文章就够了

PIC16F648A-E/SS PIC16 8位 微控制器,7KB(4Kx14)

LeetCode 75. 颜色分类
随机推荐
Data mining 2021-4-27 class notes
LeetCode 324. 摆动排序 II
【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
传统企业数字化转型需要经过哪几个阶段?
AcWing 787. Merge sort (template)
Basic knowledge of network security
常见渗透测试靶场
Noip 2002 popularity group selection number
The method of replacing the newline character '\n' of a file with a space in the shell
【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
数位统计DP AcWing 338. 计数问题
【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
LeetCode 532. K-diff number pairs in array
即时通讯IM,是时代进步的逆流?看看JNPF怎么说
数字化管理中台+低代码,JNPF开启企业数字化转型的新引擎
【点云处理之论文狂读前沿版9】—Advanced Feature Learning on Point Clouds using Multi-resolution Features and Learni
On the setting of global variable position in C language
Vscode connect to remote server
Memory search acwing 901 skiing