Added timeout to Jenkinsfile for unit tests
This commit is contained in:
parent
e105c41455
commit
5327a4f272
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user