1.在线安装jenkins
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
2.把上面上传到github服务器,然后云服务上在线安装项目,通过ssh命令
过程中踩到的坑:

网友评论