「Jenkins」- 安装(CentOS)

  CREATED BY JENKINSBOT

依赖安装

因为 Jenkins 是使用 Java 语言开发的,所以需要安装 JDK 来提供安装运行环境。

Jenkins 2.156 on CentOS 7.0

RedHat Linux RPM packages for Jenkins

# 12/27/2018

yum install wget
yum install java-1.8.0-openjdk.x86_64

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

yum install jenkins

访问服务器地址,开始配置你的的Jenkins,首页是让你输入初始密码,并告诉你初时密码所在的文件。

Upgrade Jenkins 2.241 to Jenkins Jenkins 2.273

CentOS / RHEL : How to install a specific version of rpm package using YUM – The Geek Diary

# 01/05/2021

# 更新证书
rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

# 查看可用版本
yum --showduplicate list jenkins

# 安装特定版本
yum install -y jenkins-2.273-1.1

参考文献

Jenkins download and deployment
Installing Jenkins/Linux