Jenkins 特点
-
Easy Installation Jenkins is a self contained Java-based program, ready to run with packages for Windows, Mac OS X and unix-like OS
-
Easy Configuration It can be easily set up and configured via its web interface which includes error checks and built-in help
-
Plugins It has hundreds of plugins in the Update Center and integrates with every tools in the CI and CD tool chain
-
Extensible Jenkins can be extended via its plugin architecture and provides nearly infinite possibilities for what it can do
-
Distributed It can easily distribute work across multiple machines, helping in faster builds, tests and deployments across multiple platforms
-
CI/CD工具 Travis Jenkins 默认认为运行在linux, 去做Pipeline的工具 engine/runner Azure DevOps Github Actions
-
运行环境
- Node.JS Node, NPM
-
java Maven, JDK => Pulisher: Oracle, OpenJDK, Amazon version 8
-
C# Windows? Linux? .Net Framework, .NET Core => .NET 6.0
【重点】对于环境配置,不同版本, 要和谐并存
-
Jekins Scheduling Orchestrating Runner Trigger manage
-
关于编程语言 不需要build的语言: No build: js, py, shell, html, sql 所有脚本类的不需要build 对于这种就是version control替换到生产环境上
需要build的:java, clang, golang, c#, c++, VB, Swift, Obj-C build出来是binary file,是要编译的 Node.js -> npm build -> package + optimize 没有调用的直接删掉,主要是打包各种脚本。没有被转换成二进制
自动拉去仓库里的代码,自动化部署 CI/CD介绍