当前位置:网站首页>[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 
边栏推荐
- NFT 项目的 7 种市场营销策略
- Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping
- ThinkPHP high imitation blue cloud disk system program
- 追踪伦敦银实时行情的方法
- 可视化全链路日志追踪
- 伦敦金即时行情带来什么机会?
- 主线程与守护线程
- 追踪伦敦银实时行情的方法有哪些?
- Yield Guild Games:这一年的总结与未来展望
- How to create a custom 404 error page in WordPress
猜你喜欢

Android必备的面试技能(含面试题和学习资料)

What opportunities does the London gold real-time market bring?
![“index [hotel/jXLK5MTYTU-jO9WzJNob4w] already exists“](/img/f2/37a1e65eb1104d72128f96fc5d9c85.png)
“index [hotel/jXLK5MTYTU-jO9WzJNob4w] already exists“

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

时间序列数据的预处理方法总结

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

I don't recommend you use Select*

电子招标初学者指南

NFT 项目的 7 种市场营销策略

深度学习 | MATLAB实现TCN时间卷积神经网络spatialDropoutLayer参数描述
随机推荐
Classification prediction | MATLAB realizes time series classification prediction of TCN time convolution neural network
[notes for question brushing] specified interval reversal in the linked list
[Yugong series] go teaching course in July 2022, an array of 020 go containers
Relying on cloud business to support revenue growth alone, is Microsoft still overvalued?
Some considerations about ThreadPool
Matlab02: structured programming and function definition "suggestions collection"
追踪伦敦银实时行情的方法有哪些?
【Web开发】Flask框架基础知识
新一代超安全蜂窝电池,思皓爱跑上市,13.99万起售
【commons-lang3专题】003- RandomStringUtils 专题
Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping
云函数实现网站自动化签到配置详解【Web函数/Nodejs/cookie】
如何处理项目中的时间、范围和成本限制?
Talk about the cross end technical scheme
Have you seen the management area decoupling architecture? Can help customers solve big problems
Send SMS verification code asynchronously using Ronglian cloud celery
Main thread and daemon thread
What are the methods to track the real-time market of London Silver?
双链表的定义 ~
Huawei releases harmonyos 3.0, taking another step towards "Internet of all things"
