Jenkins.Teamcity

Jenkins Debian packages
This is the Debian package repository of Jenkins to automate installation and upgrade. To use this repository, first add the key to your system:
wget -q -O – https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add –
Then add the following entry in your /etc/apt/sources.list
:deb https://pkg.jenkins.io/debian-stable binary/
Update your local package index, then finally install Jenkins:
sudo apt-get updatesudo apt-get install jenkins
See Wiki for more information, including notes regarding upgrade from Hudson.

To use this repository, run the following command:
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reposudo rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
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.
You will need to explicitly install a Java runtime environment, because Oracle’s Java RPMs are incorrect and fail to register as providing a java dependency. Thus, adding an explicit dependency requirement on Java would force installation of the OpenJDK JVM.

2.54 (2017-04) and newer: Java 8
1.612 (2015-05) and newer: Java 7

With that set up, the Jenkins package can be installed with:yum install jenkins
See Wiki for more information, including how Jenkins is run and where the configuration is stored, etc.
Individual Package Downloads

    原文作者:IT诸葛亮
    原文地址: https://www.jianshu.com/p/c170d235934f
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞