just for study
install Jenkins in local env
install Docker in local env
We should configure the Jenkins first, then we can create new item to run the pipeline.
Manage Jenkins -> Global Tool Configuration ->Gradle
just use your local Gradle directory
Manage Jenkins -> Global Tool Configuration ->Docker
just use your local Docker directory
https://jenkins.io/zh/doc/book/pipeline/getting-started/
参考上述文章使用本项目中的Jenkinsfile来构建流水线