美文网首页
Ubuntu 16.04 Jenkins Install

Ubuntu 16.04 Jenkins Install

作者: sophia_yzh1988 | 来源:发表于2017-02-04 15:52 被阅读0次

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

相关文章

网友评论

      本文标题:Ubuntu 16.04 Jenkins Install

      本文链接:https://www.haomeiwen.com/subject/jqgzbttx.html