We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876a8a2 commit a7df16aCopy full SHA for a7df16a
include/jenkins.sh
@@ -1,8 +1,13 @@
1
#!/usr/bin/env bash
2
3
-
4
install(){
5
echo -e "开始安装 Jenkins"
+wget https://mirrors.huaweicloud.com/jenkins/redhat-stable/jenkins-2.222.4-1.1.noarch.rpm
6
+rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
7
+rpm -ivh jenkins-2.222.4-1.1.noarch.rpm
8
+}
9
+
10
+install2(){
11
wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
12
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
13
yum install -y jenkins
0 commit comments