Ubuntu 16.04 Jenkins Install

Jenkins Home Page : https://wiki.jenkins-ci.org/display/JENKINS/Home

Install Jenkins

  1. add the key to your system:
    wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
  2. add the following entry in your /etc/apt/sources.list:
    deb https://pkg.jenkins.io/debian-stable binary/
  3. update your local package index, then finally install Jenkins:
    sudo apt-get update
    sudo apt-get install jenkins
    After you install jenkins successfully , you can input "localhost:8080" in browser .

Setup Jenkins

Open browser and input "localhost:8080", you will see blow information :
open the file and input the password .
sudo vi /var/lib/jenkins/secrets/initialAdminPassword

setup_admin_password.png

Then click "continue" and setup proxy and user name . You can see the jenkins version is 2.32.1 .


setup_proxy.png

Install plugins

  1. You can install some suggested plugins first . Click "Install suggested plugins" to install them . It may need take some time to finish it .


    install_suggestion_plugins.png

    After it finished , you need create First Admin User information .


    create_admin_user_info.png

    Then you can see Jenkins home :
    Jenkins_home_page.png
  2. Install other plugins which you need .
    Click "Manage Jenkins" -> " Manage Plugins" -> "Available" to search your plugins which you need . For example : install "JIRA plugin" .


    install_JIRA_plugin.png

Setup "Global Tool Configuration"

click "Manage Jenkins" -> "Global Tool Configuration"
setup your Ant, Git, Maven and JDK . For example :


Global Tool Configuration-1.png

Global Tool Configuration-2.png

nt

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容