Install Jenkin in Centos 7

前端之家收集整理的这篇文章主要介绍了Install Jenkin in Centos 7前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
[root@qwfys@H_502_2@-0@H_502_2@ ~]# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo@H_502_2@
--2018@H_502_2@-03@H_502_2@-15@H_502_2@ 15@H_502_2@:36@H_502_2@:27@H_502_2@--  https://pkg@H_502_2@.jenkins.io/redhat-stable/jenkins.repo
Resolving pkg.jenkins.io (pkg.jenkins.io)... 52.202@H_502_2@.51.185@H_502_2@
Connecting to pkg.jenkins.io (pkg.jenkins.io)|52.202@H_502_2@.51.185@H_502_2@|:443@H_502_2@... connected.
HTTP request sent,awaiting response... 200@H_502_2@ OK
Length: 85@H_502_2@
Saving to: ‘/etc/yum.repos.d/jenkins.repo’

100@H_502_2@%[@H_502_2@================================================================>] 85@H_502_2@          --.-K/s@H_502_2@   in 0s      

2018@H_502_2@-03@H_502_2@-15@H_502_2@ 15@H_502_2@:36@H_502_2@:30@H_502_2@ (2.54@H_502_2@ MB/s@H_502_2@) - ‘/etc/yum.repos.d/jenkins.repo’ saved [85@H_502_2@/85@H_502_2@]

[root@qwfys@H_502_2@-0@H_502_2@ ~]# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key@H_502_2@
[root@qwfys@H_502_2@-0@H_502_2@ ~]# install jenkins@H_502_2@
install: missing destination file operand after ‘jenkins’
Try 'install --help'@H_502_2@ for@H_502_2@ more information.
[root@qwfys@H_502_2@-0@H_502_2@ ~]# yum install jenkins@H_502_2@
Loaded plugins: fastestmirror,langpacks
gitlab_gitlab-ce/x86_64/signature                                                  |  836@H_502_2@ B  00@H_502_2@:00@H_502_2@:00@H_502_2@     
gitlab_gitlab-ce/x86_64/signature                                                  | 1.0@H_502_2@ kB  00@H_502_2@:00@H_502_2@:00@H_502_2@ !!! 
gitlab_gitlab-ce-source/signature                                                  |  836@H_502_2@ B  00@H_502_2@:00@H_502_2@:00@H_502_2@     
gitlab_gitlab-ce-source/signature                                                  |  951@H_502_2@ B  00@H_502_2@:00@H_502_2@:00@H_502_2@ !!! 
jenkins                                                                            | 2.9@H_502_2@ kB  00@H_502_2@:00@H_502_2@:00@H_502_2@     
jenkins/primary_db                                                                 |  23@H_502_2@ kB  00@H_502_2@:00@H_502_2@:00@H_502_2@     
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package jenkins.noarch 0@H_502_2@:2.89@H_502_2@.4@H_502_2@-1.1@H_502_2@ will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
 Package                 Arch                   Version                     Repository               Size
==========================================================================================================
Installing:
 jenkins                 noarch                 2.89@H_502_2@.4@H_502_2@-1.1@H_502_2@                  jenkins                  71@H_502_2@ M

Transaction Summary
==========================================================================================================
Install  1@H_502_2@ Package

Total download size: 71@H_502_2@ M
Installed size: 71@H_502_2@ M
Is this ok [y/d/N]: y Downloading packages: jenkins-2.89.4-1.1.noarch.rpm | 71 MB 00:00:16 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : jenkins-2.89.4-1.1.noarch 1/@H_502_2@1@H_502_2@ 
  Verifying  : jenkins-2.89@H_502_2@.4@H_502_2@-1.1@H_502_2@.noarch                                                                                                                                                                                                  1@H_502_2@/1@H_502_2@ 

Installed:
  jenkins.noarch 0@H_502_2@:2.89@H_502_2@.4@H_502_2@-1.1@H_502_2@                                                                                                                                                                                                                 

Complete!
[root@qwfys@H_502_2@-0@H_502_2@ ~]# @H_502_2@

——参考文献:RedHat Linux RPM packages for Jenkins

猜你在找的CentOS相关文章