Add github commit statuses

This commit is contained in:
Gabriele C 2018-07-16 19:11:41 +02:00
parent 91c4733038
commit db765aab1b

10
Jenkinsfile vendored
View File

@ -42,7 +42,7 @@ pipeline {
}
post {
success {
archiveArtifacts artifacts: '**/target/*.jar', excludes: '*-noshade.jar', fingerprint: true
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar', fingerprint: true
}
}
}
@ -56,7 +56,7 @@ pipeline {
}
post {
success {
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar', fingerprint: true
step([
$class: 'JavadocArchiver',
javadocDir: 'target/apidocs',
@ -75,5 +75,11 @@ pipeline {
}
}
}
success {
githubNotify description: 'The jenkins build was successful', status: 'SUCCESS'
}
failure {
githubNotify description: 'The jenkins build failed', status: 'FAILURE'
}
}
}