From 9084c2b3aa389a92a3c941fbad65c140c12e2ff6 Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Sat, 20 Feb 2021 20:09:45 +0530 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98f28b36..9504b13d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ - +check Sample Java Applicaiton V1.7 From e95d9528701c3047a80d93d967d00ccc8183bffb Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Sat, 20 Feb 2021 20:19:39 +0530 Subject: [PATCH 2/6] commit 1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9504b13d..642456c9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -check +check1 Sample Java Applicaiton V1.7 From 03641970004dc2719716e614ecaaa464910a9482 Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Sat, 20 Feb 2021 20:41:30 +0530 Subject: [PATCH 3/6] commit1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 642456c9..33dc54c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -check1 +check 1.0 Sample Java Applicaiton V1.7 From 83b46f4c099881e747daf5f30fb01704b3071d67 Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Sat, 20 Feb 2021 20:52:32 +0530 Subject: [PATCH 4/6] commit2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33dc54c2..eebd29dd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -check 1.0 +check 2.0 Sample Java Applicaiton V1.7 From 9b04e0387c1585b6b5f6be7e4bd9d0882f26d634 Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Sat, 20 Feb 2021 21:06:02 +0530 Subject: [PATCH 5/6] commit3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eebd29dd..def8bf22 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -check 2.0 +check 3.0 Sample Java Applicaiton V1.7 From 9de1b1668148b7067449b3e155508d39dade65fb Mon Sep 17 00:00:00 2001 From: Diptak <58400603+Diptak@users.noreply.github.com> Date: Mon, 22 Feb 2021 20:52:52 +0530 Subject: [PATCH 6/6] Update Jenkinsfile --- Jenkinsfile | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6a9e95ed..67a444b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,18 +7,7 @@ pipeline { git url: 'https://github.com/lerndevops/DevOpsClassCodes' sh script: '/opt/apache-maven-3.6.3/bin/mvn compile' } - } - stage('codereview-pmd') { - steps { - echo 'codereview..' - sh script: '/opt/apache-maven-3.6.3/bin/mvn -P metrics pmd:pmd' - } - post { - success { - recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') - } - } - } + } stage('unit-test') { steps { echo 'unittest..' @@ -29,18 +18,7 @@ pipeline { junit 'target/surefire-reports/*.xml' } } - } - stage('codecoverate') { - steps { - echo 'codecoverage..' - sh script: '/opt/apache-maven-3.6.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml' - } - post { - success { - cobertura autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'target/site/cobertura/coverage.xml', conditionalCoverageTargets: '70, 0, 0', failUnhealthy: false, failUnstable: false, lineCoverageTargets: '80, 0, 0', maxNumberOfBuilds: 0, methodCoverageTargets: '80, 0, 0', onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false - } - } - } + } stage('package') { steps { echo 'package..'