Update Jenkinsfile
Change jacoco to recordCoverage
This commit is contained in:
parent
9b52bddf0f
commit
c3bf38d911
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -3,7 +3,9 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
git branch: 'master',url: 'https://git.horizonnet.eu/mateusz/java-helloworld.git'
|
steps {
|
||||||
|
git branch: 'master',url: 'https://git.horizonnet.eu/mateusz/java-helloworld.git'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
@ -14,7 +16,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn test'
|
sh 'mvn test'
|
||||||
junit '**/target/surefire-reports/*.xml'
|
junit '**/target/surefire-reports/*.xml'
|
||||||
jacoco
|
recordCoverage(tools: [[]])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue