Navigation Menu

Skip to content

Commit

Permalink
Update Jenkins file
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaMachina committed Nov 25, 2020
1 parent 0dd6c73 commit ffbd34f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jenkinsfile
Expand Up @@ -33,6 +33,14 @@ pipeline {
post {
success {
archiveArtifacts artifacts: 'build/libs/*.jar'
mail to: env.BUILD_RESULT_EMAIL,
subject: "Build Success: ${currentBuild.fullDisplayName}",
body: "Build ${env.BUILD_URL} was successful."
}
failure {
mail to: env.BUILD_RESULT_EMAIL,
subject: "Build Failed: ${currentBuild.fullDisplayName}",
body: "Build ${env.BUILD_URL} failed."
}
}
}

0 comments on commit ffbd34f

Please sign in to comment.