Generate javadoc and sources for unstable builds

This commit is contained in:
Gabriele C 2018-03-13 22:01:53 +01:00 committed by GitHub
parent 301a7f803f
commit da43895a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
Jenkinsfile vendored
View File

@ -29,17 +29,7 @@ pipeline {
}
stage ('compile') {
steps {
sh 'mvn -o -DskipTests install'
}
}
stage ('test') {
steps {
sh 'mvn -o surefire:test'
}
post {
success {
junit 'target/surefire-reports/**/*.xml'
}
sh 'mvn -o -DskipTests package'
}
}
stage ('sources') {
@ -73,6 +63,16 @@ pipeline {
}
}
}
stage ('test') {
steps {
sh 'mvn -o surefire:test'
}
post {
success {
junit 'target/surefire-reports/**/*.xml'
}
}
}
stage ('deploy') {
when {
branch "master"