Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-resistance authored Dec 14, 2018
1 parent a66db77 commit f77483b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ node{
sh "${mvnHome}/bin/mvn package"
}
stage('Email Notification'){
mail bcc: '', body: 'this is a test email through jenkins', cc: '', from: '', replyTo: '', subject: 'test email through jenkins', to: '[email protected]'
}
stage('Slack Notification'){
slackSend baseUrl: 'https://hooks.slack.com/services/',
channel: '#jenkins-pipeline-demo',
color: 'good',
message: 'Welcome to Jenkins, Slack!',
teamDomain: 'javahomecloud',
tokenCredentialId: 'slack-demo'
mail bcc: '', body: 'this is a test email through jenkins', cc: '', from: '', replyTo: '',
subject: 'test email through jenkins', to: '[email protected]'
}
}

Expand Down

0 comments on commit f77483b

Please sign in to comment.