From 15634cab1ae0509515531c0d2bb5e31ca5a29c79 Mon Sep 17 00:00:00 2001 From: thanusha Date: Fri, 4 Aug 2023 17:37:34 +0530 Subject: [PATCH] added daybuild for jenkins in declarative pipeline --- jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index 60febdacd..64085f701 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -1,5 +1,5 @@ pipeline { - agent{label 'jdk_17'} + agent{label 'JDK_17'} options { timeout(time: 30, unit: 'MINUTES') } @@ -20,11 +20,11 @@ pipeline { steps { sh script: 'mvn package' } - + } stage('reporting') { steps { - junits: '**/target/surefire-reports/TEST-*.xml' + junit testResults: '**/target/surefire-reports/TEST-*.xml' archiveArtifacts artifacts: '**/target/spring-petclinic-*.jar' } }