Skip to content

Commit

Permalink
chore: add _logBuildStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
0.618 committed Apr 25, 2024
1 parent 58a7f3c commit 6bac348
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions codebuild_specs/build_tests_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ phases:
- source ./shared-scripts.sh && _buildTestsStandalone
post_build:
commands:
- echo $PROJECT_NAME
- echo $BRANCH_NAME
- echo "CODEBUILD_WEBHOOK_TRIGGER=$CODEBUILD_WEBHOOK_TRIGGER CODEBUILD_BUILD_SUCCEEDING=$CODEBUILD_BUILD_SUCCEEDING"
- echo "Build Status"
- source ./shared-scripts.sh && _logBuildStatus
artifacts:
files:
- "shared-scripts.sh"
6 changes: 6 additions & 0 deletions shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -791,3 +791,9 @@ function _deploymentVerificationRCOrTagged {
version=$(cat .amplify-pkg-version)
yarn ts-node scripts/verify-deployment.ts --version $version --exclude-github
}

function _logBuildStatus {
echo $PROJECT_NAME
echo $BRANCH_NAME
echo "CODEBUILD_WEBHOOK_TRIGGER=$CODEBUILD_WEBHOOK_TRIGGER CODEBUILD_BUILD_SUCCEEDING=$CODEBUILD_BUILD_SUCCEEDING"
}

0 comments on commit 6bac348

Please sign in to comment.