File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 }
6969 echo "AWS authentication successful"
7070 - name : Run CodeBuild
71+ id : codebuild
7172 uses : aws-actions/aws-codebuild-run-build@v1
7273 with :
7374 project-name : OpenVDB
7475 buildspec-override : ci/buildspec.yml
76+ - name : CodeBuild Results
77+ if : always()
78+ run : |
79+ echo "CodeBuild Project: OpenVDB"
80+ echo "Build ID: ${{ steps.codebuild.outputs.aws-build-id }}"
81+ echo "Build Status: ${{ steps.codebuild.outputs.aws-build-status }}"
82+ echo ""
83+ echo "🔗 Build Links:"
84+ if [ -n "$CODEBUILD_PUBLIC_BUILD_URL" ]; then
85+ echo "📖 Public Build Results (no sign-in required): $CODEBUILD_PUBLIC_BUILD_URL"
86+ else
87+ echo "ℹ️ Public builds not enabled - configure 'Visibility: PUBLIC_READ' in CodeBuild project"
88+ fi
89+ echo "🔒 AWS Console (requires sign-in):"
90+ echo " Project History: https://console.aws.amazon.com/codesuite/codebuild/projects/OpenVDB/history"
91+ echo " This Build: https://console.aws.amazon.com/codesuite/codebuild/projects/OpenVDB/build/${{ steps.codebuild.outputs.aws-build-id }}/"
92+ echo ""
93+ if [ "${{ steps.codebuild.outputs.aws-build-status }}" != "SUCCEEDED" ]; then
94+ echo "❌ Build failed! Check the build logs at the links above for detailed error information."
95+ echo "Common issues to check:"
96+ echo "- Build environment configuration"
97+ echo "- Source code compilation errors"
98+ echo "- Missing dependencies"
99+ echo "- Buildspec.yml configuration"
100+ else
101+ echo "✅ Build succeeded!"
102+ fi
You can’t perform that action at this time.
0 commit comments