add jenkins timeouts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f53c4c275e
commit
8199211e4d
|
@ -2,10 +2,13 @@ pipeline {
|
|||
agent { label 'linux' }
|
||||
|
||||
options {
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* Limit builds retained */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '60',
|
||||
numToKeepStr: '90',
|
||||
daysToKeepStr: '30',
|
||||
artifactNumToKeepStr: '60',
|
||||
artifactNumToKeepStr: '90',
|
||||
))
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@ pipeline {
|
|||
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* Limit builds retained */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '10',
|
||||
daysToKeepStr: '30',
|
||||
|
|
|
@ -2,10 +2,13 @@ pipeline {
|
|||
agent { label 'fastlane' }
|
||||
|
||||
options {
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* Limit builds retained */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '30',
|
||||
numToKeepStr: '60',
|
||||
daysToKeepStr: '30',
|
||||
artifactNumToKeepStr: '30',
|
||||
artifactNumToKeepStr: '60',
|
||||
))
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,13 @@ pipeline {
|
|||
}
|
||||
|
||||
options {
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* Limit builds retained */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '30',
|
||||
numToKeepStr: '60',
|
||||
daysToKeepStr: '30',
|
||||
artifactNumToKeepStr: '30',
|
||||
artifactNumToKeepStr: '60',
|
||||
))
|
||||
}
|
||||
|
||||
|
|
|
@ -2,10 +2,13 @@ pipeline {
|
|||
agent { label 'macos' }
|
||||
|
||||
options {
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* Limit builds retained */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '30',
|
||||
numToKeepStr: '60',
|
||||
daysToKeepStr: '30',
|
||||
artifactNumToKeepStr: '30',
|
||||
artifactNumToKeepStr: '60',
|
||||
))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue