File tree 2 files changed +4
-1
lines changed
packages/@aws-cdk/aws-codebuild
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ export class Project extends ProjectRef {
523
523
badgeEnabled : props . badge ,
524
524
cache,
525
525
name : props . projectName ,
526
+ timeoutInMinutes : props . timeout ,
526
527
} ) ;
527
528
528
529
this . projectArn = resource . projectArn ;
Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ export = {
466
466
}
467
467
} ,
468
468
469
- 'using path in S3 artifacts sets it correctly' ( test : Test ) {
469
+ 'using timeout and path in S3 artifacts sets it correctly' ( test : Test ) {
470
470
const stack = new cdk . Stack ( ) ;
471
471
const bucket = new s3 . Bucket ( stack , 'Bucket' ) ;
472
472
new codebuild . Project ( stack , 'Project' , {
@@ -475,6 +475,7 @@ export = {
475
475
name : 'some_name' ,
476
476
bucket,
477
477
} ) ,
478
+ timeout : 123 ,
478
479
} ) ;
479
480
480
481
expect ( stack ) . to ( haveResource ( 'AWS::CodeBuild::Project' , {
@@ -483,6 +484,7 @@ export = {
483
484
"Name" : "some_name" ,
484
485
"Type" : "S3" ,
485
486
} ,
487
+ "TimeoutInMinutes" : 123 ,
486
488
} ) ) ;
487
489
488
490
test . done ( ) ;
You can’t perform that action at this time.
0 commit comments