Use Jenkins Pipelines To Build A Project
This experiment mainly uses Alibaba Cloud Elastic Compute Service (ECS) instances. It describes how to use pipelines and build projects in distributed mode in Jenkins 2.X. In Jenkins 1.X, you can only perform manual operations in the UI to describe and develop your pipeline. However, in Jenkins 2.X, you can describe and develop your pipeline as code. Before building a project, simply add a text file named Jenkinsfile to your project, letting you write all the pipeline development logic to the file.