heheh toch niet
This commit is contained in:
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@@ -93,31 +93,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
|
||||||
emailext(
|
|
||||||
subject: "Build Succesvol: ${env.JOB_NAME} #${env.BUILD_NUMBER}",
|
|
||||||
body: """
|
|
||||||
De Jenkins-pipeline '${env.JOB_NAME}' is succesvol uitgevoerd.
|
|
||||||
Buildnummer: ${env.BUILD_NUMBER}
|
|
||||||
Kijk hier voor meer details: ${env.BUILD_URL}
|
|
||||||
""",
|
|
||||||
to: 'vanveenmel11@gmail.com'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
failure {
|
|
||||||
emailext(
|
|
||||||
subject: "Build Mislukt: ${env.JOB_NAME} #${env.BUILD_NUMBER}",
|
|
||||||
body: """
|
|
||||||
De Jenkins-pipeline '${env.JOB_NAME}' is helaas mislukt.
|
|
||||||
Buildnummer: ${env.BUILD_NUMBER}
|
|
||||||
Kijk hier voor meer details: ${env.BUILD_URL}
|
|
||||||
""",
|
|
||||||
to: 'vanveenmel11@gmail.com'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
echo "Pipeline execution completed."
|
echo "Pipeline execution completed."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user