Tweaking compile & testing

This commit is contained in:
Joakim Erdfelt 2016-07-26 07:25:23 -07:00
parent aa86d120e5
commit a707ec2b3c
1 changed files with 19 additions and 9 deletions

28
Jenkinsfile vendored
View File

@ -14,21 +14,16 @@ node {
stage 'Compile'
withEnv(mvnEnv) {
sh "mvn clean install -DskipTests"
sh "mvn clean install -Dtest=None"
}
stage 'Javadoc'
withEnv(mvnEnv) {
sh "mvn javadoc:jar"
}
stage 'Test'
withEnv(mvnEnv) {
sh "mvn test -Dmaven.test.failure.ignore=true"
sh "mvn javadoc:javadoc"
}
/*
stage 'Documentation'
dir("jetty-documentation") {
@ -36,12 +31,27 @@ node {
sh "mvn clean install"
}
}
*/
stage 'Test'
withEnv(mvnEnv) {
sh "mvn test -Dmaven.test.failure.ignore=true"
}
stage 'Compact3'
dir("aggregates/jetty-all-compact3") {
withEnv(mvnEnv) {
sh "${mvnHome}/bin/mvn -Pcompact3 clean install"
sh "mvn -Pcompact3 clean install"
}
}
stage 'Deploy SNAPSHOT'
/*
withEnv(mvnEnv) {
sh "mvn -Peclipse-release clean compile javadoc:jar source:jar gpg:sign deploy"
}
*/
}