Added timeout to Jenkinsfile for unit tests

This commit is contained in:
/dev/root 2017-05-31 22:37:43 +02:00
parent e105c41455
commit 5327a4f272

2
Jenkinsfile vendored
View File

@ -241,6 +241,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
stage("Testing") { stage("Testing") {
gitlabCommitStatus("Testing") { gitlabCommitStatus("Testing") {
executions = [:] executions = [:]
timeout(10) {
for (int i = 0; i < testing.size(); i++) { for (int i = 0; i < testing.size(); i++) {
def entry = testing.get(i) def entry = testing.get(i)
@ -282,6 +283,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
parallel executions parallel executions
} }
} }
}
// Collect all the binaries and give each configuration its own subfolder // Collect all the binaries and give each configuration its own subfolder
stage("Archiving") { stage("Archiving") {