Difference between revisions of "Jenkins"
From Wasya Wiki
(Created page with "=== Jenkins config === * install git plugin in jenkins * link to the git repo * setup maven in system config * config MAVEN_HOME in jenkins. Look into /etc/environment for tha...") |
|||
Line 4: | Line 4: | ||
* setup maven in system config | * setup maven in system config | ||
* config MAVEN_HOME in jenkins. Look into /etc/environment for that and JAVA_HOME. | * config MAVEN_HOME in jenkins. Look into /etc/environment for that and JAVA_HOME. | ||
− | From: http://stackoverflow.com/questions/5784329/how-can-i-make-jenkins-ci-with-git-trigger-on-pushes-to-master | + | * From: http://stackoverflow.com/questions/5784329/how-can-i-make-jenkins-ci-with-git-trigger-on-pushes-to-master |
+ | * a client-side (non-saved) post-receive hook | ||
+ | * install curl where git client is. | ||
+ | * install nexus as a service? (`./nexus start` as a service) | ||
+ | ** https://support.sonatype.com/entries/21283268-Configure-Maven-to-Deploy-to-Nexus | ||
+ | ** disable cobertura in pom.xml | ||
+ | * http://blog.arungupta.me/setup-local-nexus-repository-deploying-war-from-maven-techtip74/ |
Revision as of 01:04, 29 October 2015
Jenkins config
- install git plugin in jenkins
- link to the git repo
- setup maven in system config
- config MAVEN_HOME in jenkins. Look into /etc/environment for that and JAVA_HOME.
- From: http://stackoverflow.com/questions/5784329/how-can-i-make-jenkins-ci-with-git-trigger-on-pushes-to-master
- a client-side (non-saved) post-receive hook
- install curl where git client is.
- install nexus as a service? (`./nexus start` as a service)
- https://support.sonatype.com/entries/21283268-Configure-Maven-to-Deploy-to-Nexus
- disable cobertura in pom.xml
- http://blog.arungupta.me/setup-local-nexus-repository-deploying-war-from-maven-techtip74/