mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-04 02:34:14 +00:00
ci: add 3 hour timeout for jobs (#3266)
Resolves: https://github.com/status-im/nimbus-eth2/issues/3264 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
ae61512ee9
commit
6f4109c336
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -94,18 +94,22 @@ def runStages() {
|
|||||||
parallel(
|
parallel(
|
||||||
"Linux": {
|
"Linux": {
|
||||||
throttle(['nimbus-eth2']) {
|
throttle(['nimbus-eth2']) {
|
||||||
node("linux") {
|
timeout(time: 3, unit: 'HOURS') {
|
||||||
withEnv(["NPROC=${sh(returnStdout: true, script: 'nproc').trim()}"]) {
|
node("linux") {
|
||||||
runStages()
|
withEnv(["NPROC=${sh(returnStdout: true, script: 'nproc').trim()}"]) {
|
||||||
|
runStages()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"macOS": {
|
"macOS": {
|
||||||
throttle(['nimbus-eth2']) {
|
throttle(['nimbus-eth2']) {
|
||||||
node("macos && x86_64") {
|
timeout(time: 3, unit: 'HOURS') {
|
||||||
withEnv(["NPROC=${sh(returnStdout: true, script: 'sysctl -n hw.logicalcpu').trim()}"]) {
|
node("macos && x86_64") {
|
||||||
runStages()
|
withEnv(["NPROC=${sh(returnStdout: true, script: 'sysctl -n hw.logicalcpu').trim()}"]) {
|
||||||
|
runStages()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user