天天看點

jenkins建構git分支代碼

環境:

   debian45 3.16.0-4-amd64

   jenkins2.66

   jdk:java version 1.8.0_131

jenkins安裝:

    去jenkins的官網檢視(針對一切不懂的東西官方文檔永遠是必需品)

http://pkg.jenkins-ci.org/debian/

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/jenkins.io.key | sudo apt-key add -      

Then add the following entry in your /etc/apt/sources.list:

deb https://pkg.jenkins.io/debian binary/      

Update your local package index, then finally install Jenkins:

sudo apt-get update
sudo apt-get install jenkins