CentOS7.8 安装jenkins v2.150.1
下载jenkins.war包
运行
[root@192 opt]# java -jar jenkins.war --httpPort=9000
这一步记得从打印的日志里拷贝Administrator password,如下所示,
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
7f86ce414c2e4d3cbc6414f7e47c3657
This may also be found at: /root/.jenkins/secrets/initialAdminPassword
访问http://192.168.1.5:9000/配置
输入Administrator password,剩下的根据情况配置即可