adds finish notification

This commit is contained in:
Eyck Jentzsch 2023-12-02 14:25:03 +01:00
parent 1f076cb04a
commit c02a60532e
1 changed files with 53 additions and 38 deletions

15
Jenkinsfile vendored
View File

@ -97,4 +97,19 @@ pipeline {
}
}
}
post {
success {
rocketSend ":thumbsup: TGC-VP verification run passed, results at ${env.RUN_DISPLAY_URL} "
}
failure {
archiveArtifacts artifacts: 'failed_seeds_*.txt', followSymlinks: false, onlyIfSuccessful: false
rocketSend ":thumbsdown: TGC-VP verification failed, please check ${env.RUN_DISPLAY_URL} "
emailext recipientProviders: [culprits(), requestor()],
subject: "TGC-VP Pipeline Failed: ${currentBuild.fullDisplayName}",
body: """
<p>Build Status: ${currentBuild.currentResult}</p>
<p> Check logs at <a href='${env.BUILD_URL}console'> Build Console Logs </a> or at <a href='${env.RUN_DISPLAY_URL}'> Overview </a></p>
"""
}
}
}