Skip to content

Add reporting for release CodeBuild jobs #2790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion buildspecs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,15 @@ phases:
cd test/module-path-tests
mvn package
mvn exec:exec -P mock-tests
fi
fi
# Codebuild doesn't have good support for mixed formats within the same
# directory tree so just excluding these for now. Only the TCK tests are
# based on TestNG.
- find ./ -name testng-native-results -prune -type d -exec rm -r {} \;
- find ./ -name testng-junit-results -prune -type d -exec rm -r {} \;

reports:
UnitTests:
files:
- '**/*'
base-directory: '**/*/target/surefire-reports' # Location of the reports
13 changes: 12 additions & 1 deletion buildspecs/integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,15 @@ phases:
cd test/module-path-tests
mvn package
mvn exec:exec -P integ-tests
fi
fi
# Codebuild doesn't have good support for mixed formats within the same
# directory tree so just excluding these for now. Only the TCK tests are
# based on TestNG.
- find ./ -name testng-native-results -prune -type d -exec rm -r {} \;
- find ./ -name testng-junit-results -prune -type d -exec rm -r {} \;

reports:
IntegTests:
files:
- '**/*'
base-directory: '**/*/target/surefire-reports' # Location of the reports
13 changes: 12 additions & 1 deletion buildspecs/stability-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,15 @@ phases:

build:
commands:
- mvn clean install -P stability-tests -pl :stability-tests --am
- mvn clean install -P stability-tests -pl :stability-tests --am
# Codebuild doesn't have good support for mixed formats within the same
# directory tree so just excluding these for now. Only the TCK tests are
# based on TestNG.
- find ./ -name testng-native-results -prune -type d -exec rm -r {} \;
- find ./ -name testng-junit-results -prune -type d -exec rm -r {} \;

reports:
StabilityTests:
files:
- '**/*'
base-directory: '**/*/target/surefire-reports' # Location of the reports