CentOS安装Jenkins
Jenkins
是一款非常强大的持续集成工具
Jenkins
需要安装 Java8 or Java11
安装 Java8
1 | sudo yum install -y java-1.8.0-openjdk-devel |
安装 Jenkins
To use this repository, run the following command:
1 | sudo yum upgrade |
If you’ve previously imported the key from Jenkins, the rpm --import
will fail because you already have a key. Please
ignore that and move on.
The rpm packages were signed using this key:
1 | pub rsa4096 2020-03-30 [SC] [expires: 2023-03-30] |
下载安装
1 | rpm -ivh jenkins-2.327-1.1.noarch.rpm |
启动
1 | sudo systemctl start jenkins |
访问
输入 initialAdminPassword
文件中的密码
配置中文
插件管理中安装 locale
插件。
系统管理配置中找到 Default Language
= zh_CN