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 + // }