Skip to content

Commit

Permalink
Added post step for email
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Feb 20, 2021
1 parent be3df84 commit 3b7214c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ pipeline {
}
}
}
post {
always {
mail to: 'learningthoughts.in@gmail.com',
subject: "Status of pipeline ${currentBuild.fullDisplayName}",
body: "${env.BUILD_URL} has result ${currentBuild.result}"
}
}
}

0 comments on commit 3b7214c

Please sign in to comment.