Keep it simple for now

This commit is contained in:
Gabriele C 2018-03-18 20:15:56 +01:00
parent 05c1016c05
commit 8e2c16db7a

32
Jenkinsfile vendored
View File

@ -38,37 +38,7 @@ pipeline {
always {
junit 'target/surefire-reports/*.xml'
jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java')
}
}
}
stage ('sources') {
when {
branch "master"
}
steps {
sh 'mvn source:jar'
}
post {
success {
archiveArtifacts artifacts: 'target/*-souces.jar', fingerprint: true
}
}
}
stage ('javadoc') {
when {
branch "master"
}
steps {
sh 'mvn javadoc:javadoc javadoc:jar'
}
post {
success {
step([
$class: 'JavadocArchiver',
javadocDir: 'target/site/apidocs',
keepAll: true
])
archiveArtifacts artifacts: 'target/*-javadoc.jar', fingerprint: true
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
}
}
}