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..' diff --git a/README.md b/README.md index 98f28b36..def8bf22 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ - +check 3.0 Sample Java Applicaiton V1.7