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