From 34ee5fef3af42bacaae70795c232c7eef240e025 Mon Sep 17 00:00:00 2001 From: CHRAJKUMAR22 <97086614+CHRAJKUMAR22@users.noreply.github.com> Date: Wed, 9 Feb 2022 02:22:24 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e94901b90..b42f60ffa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,16 +87,6 @@ pipeline { } } } - post { - aborted{ - slackSend channel: '# jenkins-batch-ii', message: "*ABORTED:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} \n More info at: ${env.BUILD_URL}", teamDomain: 'crazy4devops', tokenCredentialId: 'slack-notify' - } - failure { - slackSend channel: '# jenkins-batch-ii', message: "*FAILIED:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} \n More info at: ${env.BUILD_URL}", teamDomain: 'crazy4devops', tokenCredentialId: 'slack-notify' - } - success{ - slackSend channel: '# jenkins-batch-ii', message: "*SUCCESS:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} \n More info at: ${env.BUILD_URL}", teamDomain: 'crazy4devops', tokenCredentialId: 'slack-notify' - } always { cleanWs() } @@ -124,4 +114,4 @@ pipeline { // sshpass -p 'Venkat@123' scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no target/*.war cloud_user@172.31.46.115:/opt/tomcat/webapps // """ // } - // } \ No newline at end of file + // }