GeezerVison is showing github.com — Update Jenkinsfile · raza08/samplejavaapp@5d8c913
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Jenkinsfile +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -5,13 +5,13 @@ pipeline { |
5 | 5 | steps { |
6 | 6 | echo 'compiling..' |
7 | 7 | git url: 'https://github.com/lerndevops/DevOpsClassCodes' |
8 | | - sh script: '/opt/apache-maven-3.8.1/bin/mvn compile' |
| 8 | + sh script: '/opt/apache-maven-3.8.3/bin/mvn compile' |
9 | 9 | } |
10 | 10 | } |
11 | 11 | stage('codereview-pmd') { |
12 | 12 | steps { |
13 | 13 | echo 'codereview..' |
14 | | - sh script: '/opt/apache-maven-3.8.1/bin/mvn -P metrics pmd:pmd' |
| 14 | + sh script: '/opt/apache-maven-3.8.3/bin/mvn -P metrics pmd:pmd' |
15 | 15 | } |
16 | 16 | post { |
17 | 17 | success { |
@@ -22,7 +22,7 @@ pipeline { |
22 | 22 | stage('unit-test') { |
23 | 23 | steps { |
24 | 24 | echo 'unittest..' |
25 | | - sh script: '/opt/apache-maven-3.8.1/bin/mvn test' |
| 25 | + sh script: '/opt/apache-maven-3.8.3/bin/mvn test' |
26 | 26 | } |
27 | 27 | post { |
28 | 28 | success { |
@@ -33,7 +33,7 @@ pipeline { |
33 | 33 | stage('codecoverate') { |
34 | 34 | steps { |
35 | 35 | echo 'codecoverage..' |
36 | | - sh script: '/opt/apache-maven-3.8.1/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' |
| 36 | + sh script: '/opt/apache-maven-3.8.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' |
37 | 37 | } |
38 | 38 | post { |
39 | 39 | success { |
@@ -44,7 +44,7 @@ pipeline { |
44 | 44 | stage('package') { |
45 | 45 | steps { |
46 | 46 | echo 'package......' |
47 | | - sh script: '/opt/apache-maven-3.8.1/bin/mvn package' |
| 47 | + sh script: '/opt/apache-maven-3.8.3/bin/mvn package' |
48 | 48 | } |
49 | 49 | } |
50 | 50 | } |
|