1 2 3 4 5 6 7 8 9 10 11 12 13 |
<span class="hljs-meta"># 先更新源再安装最新版 jenkins</span> sudo wget -O /etc/yum.repos.d/jenkins.repo https:<span class="hljs-comment">//pkg.jenkins.io/redhat-stable/jenkins.repo</span> sudo rpm --import https:<span class="hljs-comment">//pkg.jenkins.io/redhat-stable/jenkins.io.key</span> sudo yum install jenkins <span class="hljs-meta"># 启动</span> sudo service jenkins start <span class="hljs-meta"># 停止</span> sudo service jenkins stop <span class="hljs-meta"># 重启</span> sudo service jenkins restart <span class="hljs-meta"># 检查</span> sudo chkconfig jenkins on |
作者:寻梦的尕柳
链接:https://www.jianshu.com/p/dceaa1c7bb49
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。