We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6919ef1 + 04a7558 commit 9f3c202Copy full SHA for 9f3c202
services/codebuild.sh
@@ -7,7 +7,7 @@ aws_codebuild_list() {
7
aws_codebuild_get_latest_build() {
8
aws_codebuild_project_name=$1
9
echo Get the latest build of project ${aws_codebuild_project_name:?"aws_codebuild_project_name is unset or empty"}
10
- aws codebuild batch-get-builds --ids $(aws codebuild list-builds-for-project --project-name $aws_codebuild_project_name --query "*[] | [1]" --output text)
+ aws codebuild batch-get-builds --ids $(aws codebuild list-builds-for-project --project-name $aws_codebuild_project_name --query "*[] | [0]" | tr -d \''"\')
11
}
12
13
aws_codebuild_get_latest_build_with_hint() {
0 commit comments