sudo rpm -ih jenkins-2.73.2-1.1.noarch.rpm
自動安裝完成之後:
/usr/lib/jenkins/jenkins.war war包
/etc/sysconfig/jenkins 配置檔案,指定埠
/var/lib/jenkins/ 預設的jenkins_home目錄
/var/log/jenkins/jenkins.log jenkins日誌檔案
指定jdk: vi /etc/rc.d/init.d/jenkins
然後重啟
systemctl daemon-reload
systemctl restart jenkins
開啟service jenkins start
重啟service jenkins restart
停止service jenkins stop
檢視狀態service jenkins status
jenkins 安裝啟動提示「ijob for jenkins.service failed because the control process exited with error code. see "systemctl status jenkins.service" and "journalctl -xe" for details.」
指定jdk就可解決!
Centos通過yum安裝Jenkins
1 yum安裝jenkinswget o etc yum.repos d jenkins.repo io redhat stable jenkins.repo rpm import io redhat stable jenkins.io key yum y install jenkins檢視jenk...
centos下的Jenkins安裝
1.安裝jdk和tomcat 步驟略,可在我部落格中查詢 解決 修改hudson.model.updatecenter.xml檔案中配置 此xml檔案可通過find name hudson.model.updatecenter.xml查詢位置 a.將改為 b.找到update center.json...
Centos 7 Jenkins安裝 配置
官網 國內映象 2.環境準備 3.執行jenkins 指定jenkins執行埠7070 jenkins initial setup is required.an admin user has been created and a password generated.please use the f...