From eb3fb75e08141e223dadbfff18905e311718a907 Mon Sep 17 00:00:00 2001 From: sridhar <31533736+Sridharsidda@users.noreply.github.com> Date: Thu, 10 Jun 2021 11:08:06 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2c0b4c87..0e683f34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { stage ('Compile Stage') { steps { - withMaven(maven : 'maven_3_5_0') { + withMaven(maven : 'maven_installation') { sh 'mvn clean compile' } } @@ -14,7 +14,7 @@ pipeline { stage ('Testing Stage') { steps { - withMaven(maven : 'maven_3_5_0') { + withMaven(maven : 'maven_installation') { sh 'mvn test' } } @@ -23,10 +23,10 @@ pipeline { stage ('Deployment Stage') { steps { - withMaven(maven : 'maven_3_5_0') { + withMaven(maven : 'maven_installation') { sh 'mvn deploy' } } } } -} \ No newline at end of file +}