Jenkins email configuration , send an email when the pipeline is successfule or failed using aws ses

  Рет қаралды 452

Devops TerraByte

Devops TerraByte

Күн бұрын

In the video we will create our own email server using the aws ses and then we will configure it credentials in the jenkins.
Pipeline Script used in the video :-
Chnage your email id in the below script
------------------------------------------------------------------------------------------------------------------------
pipeline {
agent any
stages {
stage('List Directory') {
steps {
script {
// List objects in the / directory
sh 'ls /'
}
}
}
}
post {
success {
emailext (
subject: 'Success: Jenkins Pipeline Status',
body: 'The Jenkins pipeline has succeeded.',
to: '04shivm@gmail.com'
)
}
failure {
emailext (
subject: 'Failure: Jenkins Pipeline Status',
body: 'The Jenkins pipeline has failed.',
to: '04shivm@gmail.com'
)
}
}
}
-----------------------------------------------------------------------------------------------------------------------

Пікірлер: 2
Send Email Notifications from Jenkins | Jenkins
15:27
DevOps Shack
Рет қаралды 6 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
What is Blue Green Deployment?
6:50
Telusko
Рет қаралды 58 М.
Configuring Email Notifications in Jenkins | using AWS SES
51:54
Don't pay Google - Use Telegram for free storage
21:30
BugX
Рет қаралды 18 М.
Neo4j (Graph Database) Crash Course
1:23:08
Laith Academy
Рет қаралды 250 М.
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 531 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41