diff --git a/Jenkinsfile b/Jenkinsfile index ab4b99faf..1134f01fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,10 +19,22 @@ pipeline{ echo 'compiling..' sh 'mvn compile' } + post { + success { + echo 'Job executed successfully' + } + failure { + echo 'faitled due to exit code 1' + } + unstable{ + echo 'build unstable' + } + } } stage('CodeReview'){ agent any steps{ + echo 'codereview' sh 'mvn pmd:pmd' } }