File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ pipeline {
21
21
22
22
stages {
23
23
stage(' Docker CPU Build' ) {
24
+ options {
25
+ timeout(time : 90 , unit : ' MINUTES' )
26
+ }
24
27
steps {
25
28
sh ''' #!/bin/bash
26
29
set -exo pipefail
@@ -32,6 +35,9 @@ pipeline {
32
35
}
33
36
34
37
stage(' Test CPU Image' ) {
38
+ options {
39
+ timeout(time : 5 , unit : ' MINUTES' )
40
+ }
35
41
steps {
36
42
sh ''' #!/bin/bash
37
43
set -exo pipefail
@@ -62,6 +68,9 @@ pipeline {
62
68
// TODO(rosbo) don't set `nvidia` as the default runtime and use the
63
69
// `--runtime=nvidia` flag for the `docker run` command when GPU support is needed.
64
70
agent { label ' ephemeral-linux-gpu' }
71
+ options {
72
+ timeout(time : 45 , unit : ' MINUTES' )
73
+ }
65
74
steps {
66
75
sh ''' #!/bin/bash
67
76
set -exo pipefail
@@ -80,6 +89,9 @@ pipeline {
80
89
81
90
stage(' Test GPU Image' ) {
82
91
agent { label ' ephemeral-linux-gpu' }
92
+ options {
93
+ timeout(time : 20 , unit : ' MINUTES' )
94
+ }
83
95
steps {
84
96
sh ''' #!/bin/bash
85
97
set -exo pipefail
You can’t perform that action at this time.
0 commit comments