diff --git a/Jenkinsfile b/Jenkinsfile
index 57f22d9..9f4cbda 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,13 +38,13 @@ pipeline{
// top-level of the Pipeline, in the same workspace,
// rather than on a new node entirely:
reuseNode true
- registryUrl 'http://workstation:5000/'
}
}
steps {
sh '''
printenv
uname -a
+ exit 1
'''
}
}
@@ -68,4 +68,13 @@ pipeline{
}
}
}
+ post {
+ //always {}
+ //success {}
+ failure {
+ mail bcc: '', body: "Failure
Project: ${env.JOB_NAME}
Build Number: ${env.BUILD_NUMBER}
Build URL: ${env.BUILD_URL}", cc: '', charset: 'UTF-8', from: '', mimeType: 'text/html', replyTo: '', subject: "ERROR CI: ${env.JOB_NAME}", to: "mrsang@iohub.dev";
+ }
+ //unstable {}
+ //changed {}
+ }
}