jenkins is an open software platform, and there are many software platforms in Linux systems, but Jenkins has always been the most popular one. This article will briefly introduce the installation and use of jenkins in Linux systems.
Installing jenkins
First of all, we have installed jdk in the system, preferably jdk1.5 or above.
http://jenkins-ci.org/Download the native environment corresponding installation package
windows Run java –jar Jenkins.war.
mac Direct installation to download the jenkins file.
Enter http://localhost:8080 in your browser.
jenkins is stored by default in the .jenkins folder in the user's home directory.
mac is saved in /Users/Shared/Jenkins
locally installed on the virtual machine CentOS.
Note that JAVA can be run to run .sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
Install GITyum update
Yum -y install zlib-devel openssl-devel perl cpio expat-devel gettext-devel
yum install curl-devel
yum install autoconf
wget http://git -core.googlecode.com/files/git-1.8.3.2.tar.gz
tar xzvf git-1.8.3.2.tar.gz
cd git-1.8.3.2
autoconf
. /configure --with-curl=/opt/git
make
make install
Modify the etc/passwd file so that the jenkins user has ssh operation privileges. Jenkins:x:496:496:Jenkins Continuous Integration Server:/var/lib/jenkins:/bin/bash
Using jenkins user su jenkins
and then generating ssh-keyssh -keygen -t Rsa -C “[email protected]”
Enter http://192.168.0.101:8080
in the browser. jenkins use
System Management--Management Plugin - optional plugin search git
Install Git plugin and GitHub plugin plugin
Go to “System Management ->System Settings” Set Jenkins related parameters. Mainly set the parameters of Git and GitHub plugin, add the path of the machine's git in the Path to executable column under Git, add the local Git user.name and user.email information under Git plugin, in GitHub Web Hook Add information about your GitHub account.
If you want to use the mail function, you need to add the SMTP server and mailbox information in the email notification column. After adding, click the Test button to test whether you can send the mail normally. This function can be followed. The Email Notification function is enabled in the project.
Set GIT
new projects
configure ssh key Previous 12 Next Total 2
On Linux systems, users do not need any settings to download non-proxy using wget,
After the CentOS system is booted, it usually does not start the desktop service. If you need to sta
I accidentally deleted Ubuntus Grub boot under UEFI, so I cant boot into Ubuntu aut
Do you know that one of the Linux system commands is a pppsetup command? Why is the
Two methods of Deepin system update
Linux system file permissions and access mode introduction
How to install and set up svn environment in CentOS6
The meaning of the Linux variable parameter $
What should I do if I can't delete files in linux with root privileges?
What should I do when I prompt Unencrypted connection when Oracle Linux 5 remote telnet?
How to solve the problem that Ubuntu system can't mount U disk?
Linux system to modify environment variables skills
Win7 boot prompt password has expired processing skills
Two options for properly distributing Win7 virtual memory
Solution for ip address loss after Win7 computer restart
What if the Win10 system cannot be activated?
Eight Reasons for Slow Windows Startup
Win7 system can not start Nvidia control panel solution
Where is the virtual desktop of Win10? Win10 opens a virtual desktop method
How to play QQ battle platform under Vista and Win7, Haofang, Age of Empires 2
How much does the Win8 China version sell, 49 yuan, 88 yuan, or 99 yuan?