diff --git a/Jenkinsfile b/Jenkinsfile index 6a9e95ed..e686a5cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,17 +8,7 @@ pipeline { 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..' @@ -30,17 +20,7 @@ pipeline { } } } - 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 a979033d..76123d07 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,6 @@ Sample Java Applicaiton V1.1s adfasdf +abcd +abcd +abcd