| Jeff Gaston | 8c4ff1d | 2019-09-24 14:49:51 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -e |
| 3 | |
| Jeff Gaston | 868c502 | 2020-06-16 17:32:18 -0400 | [diff] [blame] | 4 | echo "Starting $0 at $(date)" |
| 5 | |
| Jeff Gaston | 668fb36 | 2020-01-10 18:20:48 -0500 | [diff] [blame] | 6 | cd "$(dirname $0)" |
| Jeff Gaston | 8c4ff1d | 2019-09-24 14:49:51 -0400 | [diff] [blame] | 7 | |
| Jeff Gaston | 46676e3 | 2020-01-15 16:28:34 -0500 | [diff] [blame] | 8 | # Run Gradle |
| Jeff Gaston | 4dff6e1c | 2021-04-15 11:24:37 -0400 | [diff] [blame] | 9 | EXIT_VALUE=0 |
| 10 | if impl/build.sh buildOnServer checkExternalLicenses listTaskOutputs validateAllProperties \ |
| 11 | --profile "$@"; then |
| 12 | EXIT_VALUE=0 |
| 13 | else |
| 14 | EXIT_VALUE=1 |
| 15 | fi |
| Jeff Gaston | 46676e3 | 2020-01-15 16:28:34 -0500 | [diff] [blame] | 16 | |
| Jeff Gaston | 46676e3 | 2020-01-15 16:28:34 -0500 | [diff] [blame] | 17 | # Parse performance profile reports (generated with the --profile option above) and re-export the metrics in an easily machine-readable format for tracking |
| Jeff Gaston | ab4bb4d | 2020-08-31 11:25:06 -0400 | [diff] [blame] | 18 | impl/parse_profile_htmls.sh |
| Jeff Gaston | 868c502 | 2020-06-16 17:32:18 -0400 | [diff] [blame] | 19 | |
| Jeff Gaston | 4dff6e1c | 2021-04-15 11:24:37 -0400 | [diff] [blame] | 20 | echo "Completing $0 at $(date) with exit value $EXIT_VALUE" |
| 21 | |
| 22 | exit "$EXIT_VALUE" |