fireant-bot / fireant

Fireant is a Dependabot-like service (tailored to Apache Ant + Ivy projects) which creates pull requests to keep your dependencies secure and up-to-date.
https://github.com/fireant-bot/fireant
Apache License 2.0
1 stars 1 forks source link

Add notifications to pipeline #12

Closed jamie-meyer closed 3 years ago

jamie-meyer commented 3 years ago

Add Slack and email notifications to the Jenkins pipeline covering failures.

mjemnawaz commented 3 years ago

Added a new "Slack" stage to the pipeline on branch ISSUE-12. Will merge once SLACK_TOKEN credential is added to the Jenkins instance.

stage('Slack') {
            steps {
                slackSend baseUrl: 'https://hooks.slack.com/services/',
                channel: '#jenkins',
                color: 'good',
                message: 'Jenkins Pipline executed successfully!',
                teamDomain: 'apachenutch401',
                tokenCredentialId: 'SLACK_TOKEN'
            }
 }
mjemnawaz commented 3 years ago

Merged into main.