Add jenkins stages for coverage and deployment
This commit is contained in:
parent
dec715a5cb
commit
78e7cff5f5
1 changed files with 11 additions and 0 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue