From aaa577274525a7cb8cb36a89970733d4602d0708 Mon Sep 17 00:00:00 2001 From: uzairi2023 <139320454+uzairi2023@users.noreply.github.com> Date: Mon, 6 Oct 2025 18:58:47 +0500 Subject: [PATCH] Update Jenkinsfile-CI --- jenkins/Jenkinsfile-CI | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jenkins/Jenkinsfile-CI b/jenkins/Jenkinsfile-CI index 583c905d..1da5e023 100644 --- a/jenkins/Jenkinsfile-CI +++ b/jenkins/Jenkinsfile-CI @@ -5,13 +5,13 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/samplejavaapp' - sh script: '/opt/maven/bin/mvn compile' + sh script: '/usr/bin/mvn compile' } } stage('codereview-pmd') { steps { echo 'codereview..' - sh script: '/opt/maven/bin/mvn -P metrics pmd:pmd' + sh script: '/usr/bin/mvn -P metrics pmd:pmd' } post { success { @@ -22,7 +22,7 @@ pipeline { stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/maven/bin/mvn test' + sh script: '/usr/bin/mvn test' } post { success { @@ -33,7 +33,7 @@ pipeline { stage('codecoverage') { steps { echo 'unittest..' - sh script: '/opt/maven/bin/mvn verify' + sh script: '/usr/bin/mvn verify' } post { success { @@ -44,7 +44,7 @@ pipeline { stage('package') { steps { echo 'package......' - sh script: '/opt/maven/bin/mvn package' + sh script: '/usr/bin/mvn package' } } }