Update Jenkinsfile

This commit is contained in:
Muneeb Nezameddin 2020-03-16 03:41:32 -04:00 committed by GitHub
parent 4923c84638
commit 13968ed141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
Jenkinsfile vendored
View file

@ -18,20 +18,20 @@ pipeline {
}
stage('Deploy') {
steps {
echo 'Deploy'
echo 'Deployed Successfully'
}
}
}
post {
success {
mail to: 'mnezam.31@gmail.com',
subject: "Successful Pipeline",
body: "Your tests worked accordingly!"
}
failure {
mail to: 'mnezam.31@gmail.com',
subject: "Failed Pipeline}",
body: "Something is wrong"
mail to: 'mnezam.31@gmail.com',
subject: "Successfull Build: ${currentBuild.fullDisplayName}",
body: "The following was successfully built ${env.BUILD_URL}"
}
failure {
mail to: 'mnezam.31@gmail.com',
subject: "Failed Build: ${currentBuild.fullDisplayName}",
body: "Something went wrong with the following ${env.BUILD_URL}"
}
}
}
}