2.安裝maven
3.安裝git
配置免密登錄
3.
Open up a terminal in the download directory.
Run
java -jar jenkins.war --httpPort=8080
.Browse to
http://localhost:8080
.Follow the instructions to complete the installation.
解決方案1:
安裝插件那個頁面,就是提示你offline的那個頁面,不要動。然后打開一個新的tab,輸入網(wǎng)址http://192.168.211.103:8080/jenkins/pluginManager/advanced。 這里面最底下有個【升級站點】,把其中的鏈接由https改成http的就好了,http://updates.jenkins.io/update-center.json。 然后在服務(wù)列表中關(guān)閉jenkins,再tomcat重新啟動,這樣就能正常聯(lián)網(wǎng)了