Skip to content

Commit e968b9c

Browse files
authored
Add a timeout to Jenkins build pipeline (#886)
This will prevent zombie jobs from running amok. It actually filled the Amber CI machine with 1.4 TB of logs last week... this change will fix that.
1 parent ebcd8cc commit e968b9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pipeline {
1111
skipDefaultCheckout()
1212
buildDiscarder(logRotator(numToKeepStr: "10"))
1313
timestamps()
14+
timeout time: 2, unit: 'HOURS'
1415
}
1516

1617
stages {

0 commit comments

Comments
 (0)