Add jenkins stages for coverage and deployment

This commit is contained in:
Paul Campbell 2018-02-23 18:50:56 +00:00
parent dec715a5cb
commit 78e7cff5f5

11
Jenkinsfile vendored
View file

@ -14,5 +14,16 @@ pipeline {
archiveArtifacts '**/target/*.jar'
}
}
stage('Publish Coverage') {
steps {
sh './mvnw test jacoco:report coveralls:report'
sh 'bash <(curl -s https://codecov.io/bash)'
}
}
stage('Deploy') {
steps {
sh './mvnw -Dskip-Tests=true -P release -B deploy'
}
}
}
}