Update 'Jenkinsfile'

This commit is contained in:
dany 2022-09-09 12:00:43 +02:00
parent 86f2fbcc67
commit 7cc7aeec56

11
Jenkinsfile vendored
View File

@ -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: "<b>Failure</b><br><br>Project: ${env.JOB_NAME} <br>Build Number: ${env.BUILD_NUMBER} <br> 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 {}
}
}