当前位置:网站首页>[Jenkins' notes] introduction, free space; Continuous integration of enterprise wechat; Allure reports, continuous integration of email notifications; Build scheduled tasks
[Jenkins' notes] introduction, free space; Continuous integration of enterprise wechat; Allure reports, continuous integration of email notifications; Build scheduled tasks
2022-07-29 01:04:00 【Humanoid bug maker 9527】
Official website :https://www.jenkins.io/zh/
Official documents :https://www.jenkins.io/zh/doc/
Here we skip the installation process ,
docker install
apt install
Catalog
essential information
The role of each folder

jobs: The folder where the project is stored
logs: Directory of journal files
nodes: Node configuration
plugins: Installed plug-ins
secrets: Key folder
updats: Updated plug-ins
userContent: User customized content
users: Basic information of users
war:web The folder where the application is stored
workflow-libs: Workflow folder
workspace: working space
Use
Create and use Job( project )
Create a free project

Here you can configure 
Customize workspace configuration project space 

Then you can execute the deployment Be careful The custom workspace location here , Because we use docker, So the address must be relative to the container ;
to want to jenkins The container can access this file , You must mount the folder in the container , For example, we put /project/ad Hanging on the container /var/jenkins_home/workspace Then we need to put the documents in /project Then fill in the space address above /var/jenkins_home/workspace
Because when we start, we give jenkinshome Hanging in the folder , So we can operate directly , You can also mount an extra file to store the project
This method is suitable for simple projects , in other words Jenkins When on the same machine as the project
Time to build tasks
1. Choose a job => To configure => Build trigger => Time to build 
2. Configure scheduled tasks ***** Each asterisk corresponds to... From left to right branch - when - Japan - month - year
such as 10 4 * * * It represents every day 4 spot 10 branch Execute build
Use of plug-ins
Integrate Allure Report plugins
demonstration
To configure allure, Global configuration center 
Cancel the automatic installation and specify the plug-in directory we just installed
Integrated enterprise wechat
1. Create robot access in enterprise wechat webhook
2. Add enterprise wechat plug-in 
3. Add default in system configuration webhook Address
System management => The system configuration => Enterprise wechat notification configuration
4. Get into job Add post build actions 

After the successful construction, you will receive a wechat prompt 
Integrated email
Tutorial video
1. Install the email plug-in 
2. To The system configuration part , To configure Jenkins Location
3. To configure Extended E-mail Notification Configure mail recipients 
边栏推荐
- DRF - deserialization of serializer, fields and parameters, local and global hooks, use of modelserializer
- 【目标检测】YOLOR理论简介+实践测试VisDrone数据集
- dart数组,Map,类型判断,条件判断运算符,类型转换
- Educational Codeforces Round 132 (Rated for Div. 2)【A~C】
- 【Jenkins笔记】入门,自由空间;持续集成企业微信;allure报告,持续集成电子邮件通知;构建定时任务
- MySQL stored procedure realizes the creation of a table (copy the structure of the original table and create a new table)
- What opportunities does the London gold real-time market bring?
- 递归与分治
- Cloud function realizes website automatic check-in configuration details [web function /nodejs/cookie]
- system verilog常用语法
猜你喜欢

Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping

Interview shock 69: is TCP reliable? Why?

iNFTnews | 元宇宙购物体验将成为吸引消费者的一大利器

Copy the table in word to wechat as a picture and send it

Techo hub Fuzhou Station dry goods attack | talk with developers about new industrial intelligence technology

华为发布HarmonyOS 3.0,向“万物互联”再迈一步

【Jenkins笔记】入门,自由空间;持续集成企业微信;allure报告,持续集成电子邮件通知;构建定时任务

QT静态编译程序(Mingw编译)
![[untitled]](/img/28/db3b2e1985dc9acf41cdf2004ea0d5.png)
[untitled]

递归与分治
随机推荐
Return the member function of *this
伦敦金即时行情带来什么机会?
主线程与守护线程
Techo Hub 福州站干货来袭|与开发者共话工业智能新技术
A new generation of ultra safe cellular battery, Sihao aipao, is on the market, starting from 139900
MySQL stored procedure realizes the creation of a table (copy the structure of the original table and create a new table)
B+ tree~
DRF - paging, JWT introduction and principle, JWT quick use, JWT source code analysis, JWT custom return format, custom user issued token, custom token authentication class
Tips for API interface optimization
Irregular clipping of NC data with CDO
Cloud function realizes website automatic check-in configuration details [web function /nodejs/cookie]
day8
“index [hotel/jXLK5MTYTU-jO9WzJNob4w] already exists“
Five interesting magic commands in jupyter notebook
Consumer unit 消费单元
ThinkPHP高仿蓝奏云网盘系统程序
🧐 Table1 | finish your third line watch in one second
[Yugong series] go teaching course in July 2022, an array of 020 go containers
Hash table~
New pseudo personal guide page source code
