Jenkins automated deployment entry (a)

Jenkins started

This time, the technical director in order to reduce the test environment every time new interfaces must submit deployment project, carried out a jenkins continuous integration github, docker, so long as each push of code will automatically deploy, really saves time deployment ( overtime is not just around the corner).

Today, mainly to introduce the basics of using Jenkins, incidentally jdk environment and a mouth like a docker how 5G installation speed of flying in general.

Ready to work

For the first time Jenkins, you need to:

  • Machine Requirements:

    • 256 MB RAM, 512 MB recommended greater than
    • 10 GB of hard drive space (for Jenkins and Docker mirrored)
      PS: Xiao Ming centos7 using linux kernel version of the server, 1G memory 50G hard drive 1 nuclear cloud servers Tencent, Tencent cloud recently engaged in activities 99 yuan a year, is too cheap I did not hold back out of a background and do exactly the same cloud Ali, worthy of Tencent, we need to look at the link, http://sina.lt/gget .
  • You need to install the following software:

Download and run Jenkins

  1. Download Jenkins (linux executed wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war).
  2. Open a terminal into the download directory.
  3. Run the command java -jar jenkins.war --httpPort = 8080.
  4. Open your browser and follow the link HTTP: // localhost: 8080 .
  5. Wait a moment, password console output to complete the installation in accordance with the recommended configuration.

After the installation is complete, you can start using the Jenkins!

Welcome attention to micro-channel public number for more resources

Programmer Xiao Ming

Guess you like

Origin www.cnblogs.com/coderxx/p/11037609.html