From 2a7e419f0938ce3be89f16275763e2f362c56151 Mon Sep 17 00:00:00 2001 From: gchandankumar <56622138+gchandankumar@users.noreply.github.com> Date: Tue, 24 Dec 2019 22:00:05 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) 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 } + }