Jenkins basics--Application at work

Application one

Task background: Use Jenkins to create a task to automatically compile docker images.
Task requirements:
1. After writing the script to build the docker image, use Jenkins to automatically trigger the script to automatically build the image;
2. You can manually select parameters on Jenkins to trigger the build, or you can automatically trigger the build and set the default parameters. The parameters here It's for scripts.
Theoretical knowledge practice: Use Jenkins to implement the build version (practice the build work in continuous integration). What is built here is a docker image based on XX software version. This software version will be iterated frequently. Task reasons and benefits: 1. Due
to
compilation Docker images have many configurations, and automated construction can avoid the tedious and possible errors of manual construction for each release;
2. Due to many operations and long waiting times for some operations, automated construction can also formulate strategies for scheduled triggering, such as during breaks Time is automatically built, which improves server resource utilization and saves personal time.

Guess you like

Origin blog.csdn.net/xch622114/article/details/131294173