Skip to content

Commit

Permalink
Use variable to set ${ids} @master]
Browse files Browse the repository at this point in the history
  • Loading branch information
ho600 committed May 15, 2022
1 parent b1f3267 commit 4260057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/start_build.sh
@@ -1,3 +1,3 @@
#!/bin/bash
aws --profile for-all-codebuild-project-in-hoamon-info-AWS codebuild start-build --project-name cp-files-to-AWS-s3-bucket-www-hoamon-info
# aws --profile for-all-codebuild-project-in-hoamon-info-AWS codebuild batch-get-builds --ids cp-files-to-AWS-s3-bucket-www-hoamon-info:b1edbdb9-ab30-4986-8d7e-2545401a56ef | jq ".builds[].buildStatus"
ids=`aws --profile for-all-codebuild-project-in-hoamon-info-AWS codebuild start-build --project-name cp-files-to-AWS-s3-bucket-www-hoamon-info | jq ".build.id"`
# aws --profile for-all-codebuild-project-in-hoamon-info-AWS codebuild batch-get-builds --ids $(sed 's/"//g' <<< $ids) | jq ".builds[].buildStatus"

0 comments on commit 4260057

Please sign in to comment.