diff --git a/Jenkinsfile b/Jenkinsfile index 680e789..ba7b013 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,29 +26,8 @@ node { stage('PMD') { sh 'mvn pmd:check' - } - /* stage('mail'){ - - mail body: 'project build successful', - from: 'devopstrainingblr@gmail.com', - replyTo: 'mithunreddytechnologies@gmail.com', - subject: 'project build successful', - to: 'mithunreddytechnologies@gmail.com' - }*/ + - - - } - catch (err) { - - currentBuild.result = "FAILURE" - - /* mail body: "project build error is here: ${env.BUILD_URL}" , - from: 'devopstrainingblr@gmail.com', - replyTo: 'mithunreddytechnologies@gmail.com', - subject: 'project build failed', - to: 'mithunreddytechnologies@gmail.com' - */ - throw err } + }