当前位置:网站首页>Jenkins -- continuous integration server
Jenkins -- continuous integration server
2022-07-28 13:27:00 【51CTO】
1. Continuous integration :
1.1 Concept
Continuous integration ,Continuous integration , abbreviation CI.
Integrate : All of our project code is hosted in SVN Server . Each project has several unit tests , And there's a so-called integration test . The so-called integration test is to run all unit tests and other tests that can be completed automatically . Only the code that has passed the integration test on the local computer can be uploaded to SVN Server , Ensure that there is no problem with the uploaded code . therefore , Integration refers to -- Integration testing .
continued : Persistence refers to -- Long term integration testing of project code . Since it is a long-term , That must be automatic , otherwise , Manual execution is not guaranteed , And it takes manpower . Regarding this , We have a server , It will start from SVN Check out the code , And compile , Then run the integration test . The results of each integration test will be recorded . To complete this work is the following Jenkins Software . Of course , It does more than that . In our project , The cycle of executing this work is 1 God . That is to say , Server every 1 Every day will be on time SVN The latest code on the server automatically performs an integration test .


1.2 characteristic
- It's an automated, periodic integration testing process , Check out code from 、 Compiling and constructing 、 Run the test 、 Result record 、 Test statistics, etc. are all done automatically , No manual intervention required ;
- A dedicated integration server is needed to perform integration builds ;
- Need to be supported by code hosting tools ;
1.3 effect
- Ensure the quality of code submitted by team developers , Reduce the pressure of software release ;
- Any part of continuous integration is done automatically , No need for too much human intervention , It helps to reduce the number of repetitive processes to save time 、 Cost and workload ;
Through the following respectful service, the old man is comparing the functions of the above two items, which is very vivid ! He has provided us with considerate continuous integration services ! We don't need to worry too much about project integration. Just leave it to them !

2.Jenkins
2.1Jenkins Introduce
Jenkins, Original name Hudson,2011 Changed its name to its present name , it It is an open source software tool for continuous integration . Official website : http://jenkins-ci.org/.
Jenkins Be able to implement errors in monitoring integration , Provide detailed log files and reminders , It can also show the trend and stability of project construction in the form of chart .
2.2Jenkins characteristic
- Easy to install : Just one. java -jar jenkins.war, After downloading the file from the official website , Direct operation , No additional installation is required , There is no need to install the database ;
- Easy to configure : Offer friendly GUI Configuration interface ;
- Change support :Jenkins From the code warehouse (Subversion/CVS) Get and generate the code update list and output it to the compilation output information ;
- Support permanent links : The user is through web To visit Jenkins Of , And these web The link address of the page is a permanent link address , therefore , You can use this link directly in various documents ;
- Integrate E-Mail/RSS/IM: When an integration is completed , These tools can tell you the integration results in real time ( as far as I am concerned , Building an integration takes time , With this function , You can wait for the results , Do something else );
- JUnit/TestNG Test report : That is to provide detailed test report functions in the form of charts ;
- Support distributed build :Jenkins Integration building and other work can be distributed to multiple computers ;
- File fingerprint information :Jenkins Which integration builds will be saved and what results jars file , Which integration build uses which version of jars Documents and other construction records ;
- Support for third-party plug-ins : bring Jenkins Become more and more powerful ;
Other integration tools
Other well-known continuous integration tools are :CruiseControl,TeamCity,Continuum etc. .
Reference article :
http://velep.com/archives/867.html

author : Lingyejun
If you like or want to see more of my articles , My official account of WeChat 《 Lingyejun 》.
Please keep the source and signature when reprinting the article , Otherwise, the right to pursue legal responsibility is reserved .
边栏推荐
- Why is crypto game changing the game industry?
- Mysql中DQL基本练习
- The form select in antd is received before it is selected
- JS encapsulation at a glance
- 基于pytorch卷积人脸表情识别–毕业设计「建议收藏」
- 半波整流点亮LED
- Intrinsic value and time value of options
- Have you seen the management area decoupling architecture? Can help customers solve big problems
- [embedded C foundation] Part 1: basic data types
- kotlin学习笔记3——Lambda编程
猜你喜欢

屈辱、抗争、逆转,三十年,中国该赢微软一次了

半波整流点亮LED

With 433 remote control UV lamp touch chip-dlt8sa20a-jericho
![[embedded C foundation] Part 4: use of operators](/img/01/b3b6c093095dd6a076ae43521a1917.png)
[embedded C foundation] Part 4: use of operators

Call / put option price curve

从手机厂高位“出走”的三个男人

PCP parity principle arbitrage

Rust from introduction to mastery 01 introduction
![[报错]使用ssh登陆到另一台机器后,发现主机名还是自己|无法访问yarn8088](/img/81/641a5b3445534fc3b8c87ee6deaa64.png)
[报错]使用ssh登陆到另一台机器后,发现主机名还是自己|无法访问yarn8088

一根筋教育PHP培训 知行合一收热捧
随机推荐
Kotlin learning notes 3 - lambda programming
什么叫杂谈(e网杂谈)
Redis —— 基础篇
Tidb 6.x in action was released, a summary of 6.x practices that condense the collective wisdom of the community!
二舅能治好年轻人的精神内耗吗?
从手机厂高位“出走”的三个男人
【黑马早报】字节估值缩水,降至2700亿美元;“二舅”视频作者回应抄袭;任泽平称取消商品房预售制是大势所趋;美联储宣布再加息75个基点...
.NET桌面开发的一些思考
Change password, confirm password verification antd
The form select in antd is received before it is selected
Databinding+livedata can easily realize skin changing without restart
我抄底了被清算的NFT,却被OpenSea上了锁
Getderivedstatefromprops lifecycle
Night God simulator packet capturing wechat applet
FFT海浪模拟
[error] after logging in to another machine using SSH, you find that the hostname is still yourself | unable to access yarn8088
[FPGA] joint simulation of vivado and Modelsim
Single option trading and cross trade
Compare the new and old data to find the added and deleted ones
SSH port forwarding (Tunneling Technology)