Update Jenkinsfile

This commit is contained in:
Muneeb Nezameddin 2020-03-16 02:54:12 -04:00 committed by GitHub
parent 4365924bfe
commit db315d5f07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
Jenkinsfile vendored
View file

@ -18,8 +18,20 @@ pipeline {
}
stage('Deploy') {
steps {
bat './mvnw release'
bat './mvnw deploy:deploy-file'
}
}
}
post {
success {
mail to: 'mnezam.31@gmail.com',
subject: "Successful Pipeline: ${currentBuild.fullDisplayName}",
body: "Your tests worked accordingly!"
}
failure {
mail to: 'mnezam.31@gmail.com',
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
body: "Something is wrong with ${env.BUILD_URL}"
}
}
}