Jenkins+Docker continuous integration flowchart

Introduction:

In the Internet age, for every company, the importance of software development and release is self-evident. A set of standard processes has been formed, and the most important components are continuous integration (CI) and continuous deployment and delivery (CD). This article is based on Jenkins+Docker+Git to implement a set of CI automated publishing process.

#### 1. Fabric process design! [Insert picture description here](https://img-blog.csdnimg.cn/2021032515571836.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmVuZO size_16,color_FFFFFF,t_70)

Traditional workflow:

1. Java project development
2. Submit the project code to (git or svn)
3. Pull the project code (jenkins or manual)
4. Compile the project code (jenkins or manual)
5. Publish the java project and run the java project
6. Test

Insert picture description here

Automated workflow:

1. Developers submit code to the Git version repository;
2. Jenkins manual/timing trigger project construction;
3. Jenkins pulls the code, code encoding, packaged images, and pushes to the mirror repository;
4. Jenkins creates a container on the Docker host and releases it.

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/ichen820/article/details/115210877