From fa63f2f1045752675d73f7994dbde7b49884d52e Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 3 Mar 2018 16:29:38 +0000 Subject: [PATCH] jenkins: split Reporting stage into Test Results and Archiving --- Jenkinsfile.groovy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 1d8fe5e..a2f7898 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -32,9 +32,13 @@ pipeline { } } } - stage('Reporting') { + stage('Test Results') { steps { junit '**/target/surefire-reports/*.xml' + } + } + stage('Archiving') { + steps { archiveArtifacts '**/target/*.jar' } }