Open cloudscode opened 7 years ago
sudo service jenkins stop
For centos it will be
sudo yum remove jenkins
For ubuntu it will
sudo apt-get remove --purge jenkins
sudo rpm -ih jenkins-2.32.2-1.1.noarch.rpm
sudo service jenkins start
scp /var/lib/jenkins/workspace/Pft-Framework/target/Pft-Framework-0.0.1.jar root@192.168.20.250:/var/javaweb/
scp ~/.ssh/authorized_keys root@192.168.20.250
sudo su -s /bin/bash jenkins
ssh-keygen
cat /var/lib/jenkins/.ssh/id_rsa.pub
ssh@yourrepository
vi .ssh/authorized_keys
http://stackoverflow.com/questions/15174194/jenkins-host-key-verification-failed
这个插件可以通过ssh连接其他Linux机器
http://www.cnblogs.com/zz0412/p/jenkins_jj_10.html
http://blog.csdn.net/u012599988/article/details/44041339
Home page -> Credentials
Gogs+Webhook+Plugin Gogs-Webhook Plugin
In Gogs configure your webhook like this:
http(s)://<< jenkins-server >>/gogs-webhook/?job=<< jobname >>
查看安装目录信息
ps -ef | grep jenkins