From c98dd02c5a2aa995c71cdc5a4011d940888cf3d8 Mon Sep 17 00:00:00 2001 From: Sohail Date: Sun, 5 Mar 2023 12:24:31 +0530 Subject: [PATCH] Added post step --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2dfb4238d..98becc228 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,4 +12,13 @@ pipeline{ } } } + post{ + success{ + + archiveArtifacts artifacts: '**/target/spring-petclinic-*.jar' + junit testResults: '**/surefire-reports/TEST-*.xml' + + + } + } } \ No newline at end of file