Add timeout for Jenkinsfile

This commit is contained in:
Lipu Fei 2018-01-03 11:58:14 +01:00
parent f6168c07f0
commit 6997c2d2dc

2
Jenkinsfile vendored
View file

@ -1,3 +1,4 @@
timeout(time: 2, unit: "HOURS") {
parallel_nodes(['linux && cura', 'windows && cura']) {
// Prepare building
stage('Prepare') {
@ -43,3 +44,4 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
notify_build_result(env.CURA_EMAIL_RECIPIENTS, '#cura-dev', ['master', '2.'])
}
}
}