diff --git a/jenkinsfile-linux b/jenkinsfile-linux index 992b3eb..0c1de5c 100644 --- a/jenkinsfile-linux +++ b/jenkinsfile-linux @@ -5,13 +5,13 @@ pipeline { steps { echo 'compiling..' git url: 'https://github.com/lerndevops/DevOpsClassCodes' - sh script: '/opt/apache-maven-3.8.4/bin/mvn compile' + sh script: '/opt/apache-maven-3.9.9/bin/mvn compile' } } stage('codereview-pmd') { steps { echo 'codereview..' - sh script: '/opt/apache-maven-3.8.4/bin/mvn -P metrics pmd:pmd' + sh script: '/opt/apache-maven-3.9.9/bin/mvn -P metrics pmd:pmd' } post { success { @@ -22,7 +22,7 @@ pipeline { stage('unit-test') { steps { echo 'unittest..' - sh script: '/opt/apache-maven-3.8.4/bin/mvn test' + sh script: '/opt/apache-maven-3.9.9/bin/mvn test' } post { success { @@ -30,10 +30,10 @@ pipeline { } } } - stage('codecoverate') { + stage('codecoverage') { steps { echo 'codecoverage..' - sh script: '/opt/apache-maven-3.8.4/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' + sh script: '/opt/apache-maven-3.9.9/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' } post { success { @@ -44,7 +44,7 @@ pipeline { stage('package') { steps { echo 'package..' - sh script: '/opt/apache-maven-3.8.4/bin/mvn package' + sh script: '/opt/apache-maven-3.9.9/bin/mvn package' } } }