Skip to content

Commit 7bf78a8

Browse files
committed
[Update] - to move start build commandline to aws_run_commandline to get logs
1 parent 3ee007d commit 7bf78a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

services/codebuild.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ aws_codebuild_get_latest_build_with_hint() {
2020

2121
aws_codebuild_start() {
2222
aws_codebuild_project_name=$1
23-
echo Start the project name ${aws_codebuild_project_name:?"Project name is unset or empty"}
24-
aws codebuild start-build --project-name ${aws_codebuild_project_name}
23+
24+
aws_run_commandline "\
25+
aws codebuild start-build --project-name ${aws_codebuild_project_name}
26+
"
27+
2528
}
2629

2730
aws_codebuild_start_with_hint() {

0 commit comments

Comments
 (0)