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:
- Java 8 (JRE or JDK can click to see linux how to quickly install the JDK )
- Docker ( see how to install centos version Docker )
Download and run Jenkins
- Download Jenkins (linux executed
wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
). - Open a terminal into the download directory.
- Run the command java -jar jenkins.war --httpPort = 8080.
- Open your browser and follow the link HTTP: // localhost: 8080 .
- 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!