Java
From Wasya Wiki
- How do you run a maven build from jenkins?
Contents
Install Java
Assume Ubuntu everywhere.
Install nexus-public from github.
From: https://www.digitalocean.com/community/tutorials/como-instalar-o-java-no-ubuntu-com-apt-get-pt
From: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
Install the spring-petclinic from github.
Build with Maven
mvn clean install mvn test sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin mvn tomcat7:run mvn clean deploy # deploys from nexus to tomcat? # http://www.baeldung.com/maven-deploy-nexus