Lao Li share: Continuous integration Learn Jenkins's git and maven configurationFor Jenkins terminology, please refer to the following connection:Https://wiki.jenkins-ci.org/display/JENKINS/Terminology1. Add git plugin via the Jenkins Web pageManage jenkins->manage plugins->available Select the git plugin installation,Note to fill in the user name and email addre
Preface
Since joining qcon in February April, the idea of continuous integration has been on the mind. After four months, we finally have the opportunity to practice. We should first thank the leaders for their support. I remember that when I attended the scrum training, one of the first obstacles mentioned was from the upper layer. The upper layer hopes to see tangible results. If the existing development
Jenkins + maven + git + sonar system continuous integration amp; Code single test managementJenkins + maven + git + sonar system continuous integration code Test ManagementInstall JenkinsJenkins is a Java-based
Objective
Jenkins is an open source continuous integration tool, which can be easily built, automatically compiled and deployed by using Jenkins to build a continuous integrated environment.
In the case of fewer servers, the advantages of Jenkins are not obvious, but with the development of the project, the number of servers increased, Jenkins advantage will be h
Learning Video: http://www.maiziedu.com/course/369/
Learning materials: https://wenku.baidu.com/view/f2d72197ff00bed5b9f31d9c.html
Https://wenku.baidu.com/view/83c994c280eb6294dd886ce8.html
One. A general process for continuous integration using Jenkins:
1. First step: Upload the project.
I'm using IntelliJ Idea's Web project (spring,spring MVC, Hibernate,maven
SH script to the remote server and execute the script (the script is mainly to close Tomcat and delete the war package under WebApps)//SCP sshexec4. Copy the war package to the remote server5. Launch Tomcat, deploy complete.The sh script, which is used to close Tomcat and delete the war package, uses the way to kill the process instead of the Tomcat-shutdown script, because when Tomcat is closed, execution shutdown.sh will error:#!/bin/bash#KillTomcat Piduser=`WhoAmI' Pidlist=`PS-ef|grepapache-
The continuous integration process for Maven Java projects1 jekins from SVN pull replacement code2 Using the MVN Deploy command to compile, test, package, and publish to the MAVEN Agent repository on the intranetSpecific configuration procedure 1 new taskEnter an item name, select "Build a free-style software project",
jenkins+maven+git+sonar system Continuous Integration Code single-Measurement managementInstallation of Jenkins Jenkins is a continuous integration tool based on Java development that monitors ongoing duplication of work, including: 1.
Jenkins is an extensible, continuous integration engine that Jenkins is easy to install and configure, easy to use, and see how we can quickly build a continuous integration environment in minutes.
Suppose we currently have 2 Maven projects: Entities (Java Class Library), We
"Archive the Artifacts", "Editable Email Notification"When the above procedure is complete, click "Save".Left navigation bar, select "New Task", then enter a task name, customize, select the first item "Build a free-flavor software project", click OK.GeneralSource ManagementBuilding triggersBuild your environmentBuildProject name note here that the name of the MAVEN project that was just built is here, and the war package to invoke build good project
Reproduced in: http://sinye.iteye.com/blog/572153
I. development tools used
1. Hudson: Hudson is a revolutionary open source CI server that has learned a lot from its previous CI servers. One of the most attractive features of Hudson is its ease of configuration: it is difficult to find a CI server that is easier to set, and it is also difficult to find a CI server with such rich out-of-the-box features. The second reason Hudson is easy to use is that it has a powerful plug-in framework, so it
Use of the system is Ubuntu, so there are a lot of apt-get commands, haha forgive
Install git Git-core
Create a new Git user, and the user's home directory will be used to store git Repository. This user name is not necessarily called git, can be arbitrarily specified, but git is more commonly used, a look at the role of this account
Modify the password
Landing
sudo install git git-coreadduser gitpasswd gitsu gitThe above is a git installation
Get Gitolite
8. Check code updates and compileYou can set the timer check compile function by poll SCM.For example, */5 * * * * is checked every 5 minutes, if there is an update in the Git repository, the build operation is performed.9. Speed up download with mavenSee: http://blog.csdn.net/sheismylife/article/details/7209722Jenkins '. M2 directory path in:/var/lib/jenkins/.m2/Clear all Jar packages First, then create the settings.xml file and edit the following:Now click on Build to test, open console output
Some days ago, I wrote continuous integration practices for small-scale product teams.After that, I have been busy with the Project. Today I finally have time to complete this article on the continuous integration of large-scale projects.
I. Basics of continuous
A year ago, Li Jian (Editor of the agile community on infoq Chinese site) proposed to write some practices and examples used in practical agile software development projects, so I decided to summarize my actual project and consulting experience. Since we have been working in the field of "continuous integration and release management", we will not spend any time thinking about the subject. We will only focu
. NET continuous integration and automated deployment first (half-day build your Jenkins continuous integration and automated deployment system) Preface
I believe that every programmer has experienced the pain of late-night overtime online! And as an overtime on-line as the norm of the farm, it is deeply painful. Becau
Continuous integration is referred to as CI, continuous integration is frequent, continuous integration in the work of multiple team members, and give feedback. A typical continuous
I. Current SITUATION
The object of our ongoing integration is a development team of about 100 people who develop a huge system. The entire development team is divided into several development teams for collaborative development, each development team responsible for the development of 2-3 modules, the actual module is already equivalent to a small and medium-sized system. All modules of each module are compiled together through eclipse and placed dir
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.