diff --git a/CHANGELOG b/CHANGELOG index b5e231b..3e06a9d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,13 @@ CHANGELOG ========= +0.6.0 +----- + +* jenkins: add Coverage stage +* jenkins: split Reporting stage into Test Results and Archiving +* jenkins: remove java 9 testing from `develop` branch + 0.5.1 ----- diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 9eb564f..f218cb9 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -30,22 +30,23 @@ pipeline { } } } - // requires maven-failsafe-plugin:2.21 when it is released -// stage('Java 9') { -// steps { -// withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') { -// sh 'mvn clean install' -// } -// } -// } } } - stage('Reporting') { + stage('Test Results') { steps { junit '**/target/surefire-reports/*.xml' + } + } + stage('Archiving') { + steps { archiveArtifacts '**/target/*.jar' } } + stage('Coverage') { + steps { + jacoco(execPattern: '**/target/jacoco.exec') + } + } stage('Deploy') { when { expression { (env.GIT_BRANCH == 'master') } } steps {