diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-11-12 19:59:50 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-11-12 19:59:50 +0300 |
commit | 2edec383b5b9ba0f1339d2f3d660c311d33562b1 (patch) | |
tree | a81f56d6d6a5fb144b4884dbdf444280a926ade1 /scripts/ci | |
parent | d901e8ab9c61f1032eca07cfa57301e67719ec0d (diff) |
[ci] Move sentry reporting to the run-test-* scripts
So a "no-tests" build doesn't try to do sentry uploading.
Diffstat (limited to 'scripts/ci')
-rwxr-xr-x | scripts/ci/run-jenkins.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-acceptance-tests.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-default.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-interpreter.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-mac-sdk.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-mcs.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-profiler-stress-tests.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-stress-tests.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-testing_aot_full.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-testing_aot_full_interp.sh | 1 | ||||
-rwxr-xr-x | scripts/ci/run-test-testing_aot_hybrid.sh | 2 | ||||
-rwxr-xr-x | scripts/ci/run-test-winaot.sh | 2 |
12 files changed, 21 insertions, 2 deletions
diff --git a/scripts/ci/run-jenkins.sh b/scripts/ci/run-jenkins.sh index e0ad1059ac0..da2459b40f4 100755 --- a/scripts/ci/run-jenkins.sh +++ b/scripts/ci/run-jenkins.sh @@ -289,5 +289,3 @@ if [[ $CI_TAGS == *'csprojdiff'* ]]; then fi else ${TESTCMD} --label=csprojdiff --skip fi - -${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-acceptance-tests.sh b/scripts/ci/run-test-acceptance-tests.sh index 408d4d63e02..5cc6d5574fc 100755 --- a/scripts/ci/run-test-acceptance-tests.sh +++ b/scripts/ci/run-test-acceptance-tests.sh @@ -23,3 +23,5 @@ ${TESTCMD} --label=coreclr-runtest-coremanglib --timeout=10m make -C acceptance- # run the GC stress tests (on PRs we only run a short version) ${TESTCMD} --label=coreclr-gcstress --timeout=1200m make -C acceptance-tests coreclr-gcstress + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-default.sh b/scripts/ci/run-test-default.sh index e4204ce6dde..a9f1384b796 100755 --- a/scripts/ci/run-test-default.sh +++ b/scripts/ci/run-test-default.sh @@ -143,3 +143,5 @@ fi ${TESTCMD} --label=bundle-test-results --timeout=2m find . -name "TestResult*.xml" -exec tar -rvf TestResults.tar {} \; rm -fr /tmp/jenkins-temp-aspnet* + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-interpreter.sh b/scripts/ci/run-test-interpreter.sh index 15feabf21f5..1954cf4e055 100755 --- a/scripts/ci/run-test-interpreter.sh +++ b/scripts/ci/run-test-interpreter.sh @@ -94,3 +94,5 @@ if [[ ${CI_TAGS} != *'pull-request'* ]] || [[ ${CI_TAGS} != *'arm'* ]]; then ${TESTCMD} --label=Microsoft.Build.Utilities-14 --timeout=60m make -w -C mcs/class/Microsoft.Build.Utilities run-test PROFILE=xbuild_14 V=1 ${TESTCMD} --label=System.IO.Compression --timeout=5m make -w -C mcs/class/System.IO.Compression run-test V=1 fi + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-mac-sdk.sh b/scripts/ci/run-test-mac-sdk.sh index 7d38e06f65b..053335cade9 100755 --- a/scripts/ci/run-test-mac-sdk.sh +++ b/scripts/ci/run-test-mac-sdk.sh @@ -17,3 +17,5 @@ ${TESTCMD} --label="corlib-tests-llvm" --timeout=60m make -C mcs/class/corlib ru # Bundled libgdiplus ${TESTCMD} --label="System.Drawing" --timeout=60m make -C mcs/class/System.Drawing run-test + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-mcs.sh b/scripts/ci/run-test-mcs.sh index c3f2e499a12..824ce78040e 100755 --- a/scripts/ci/run-test-mcs.sh +++ b/scripts/ci/run-test-mcs.sh @@ -3,3 +3,5 @@ ${TESTCMD} --label=mcs-tests --timeout=30m make -w -C mcs/tests run-test ${TESTCMD} --label=mcs-errors --timeout=10m make -w -C mcs/errors run-test ${TESTCMD} --label=compile-bcl-tests --timeout=40m make -w -C runtime test + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-profiler-stress-tests.sh b/scripts/ci/run-test-profiler-stress-tests.sh index 4e4fa80b8e5..231745151d2 100755 --- a/scripts/ci/run-test-profiler-stress-tests.sh +++ b/scripts/ci/run-test-profiler-stress-tests.sh @@ -4,3 +4,5 @@ ${TESTCMD} --label=profiler --timeout=30m make -w -C mono/profiler -k check ${TESTCMD} --label=Mono.Profiler.Log-xunit --timeout=30m make -w -C mcs/class/Mono.Profiler.Log run-xunit-test export MONO_BABYSITTER_EXTRA_XML=${MONO_REPO_ROOT}/acceptance-tests/profiler-stress/TestResult-profiler-stress.xml ${TESTCMD} --label=check-profiler-stress --timeout=24h make -C acceptance-tests check-profiler-stress + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-stress-tests.sh b/scripts/ci/run-test-stress-tests.sh index 6227f9b6108..58afe9d3010 100755 --- a/scripts/ci/run-test-stress-tests.sh +++ b/scripts/ci/run-test-stress-tests.sh @@ -1,3 +1,5 @@ #!/bin/bash -e ${TESTCMD} --label=check-stress --timeout=12h make -w -C mono/tests -k check-stress V=1 + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-testing_aot_full.sh b/scripts/ci/run-test-testing_aot_full.sh index 92b9e2e4d88..32bcb789752 100755 --- a/scripts/ci/run-test-testing_aot_full.sh +++ b/scripts/ci/run-test-testing_aot_full.sh @@ -40,3 +40,5 @@ ${TESTCMD} --label=System.Json --timeout=5m make -w -C mcs/class/System.Json run ${TESTCMD} --label=monolinker --timeout=10m make -w -C mcs/tools/linker check rm -fr /tmp/jenkins-temp-aspnet* + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-testing_aot_full_interp.sh b/scripts/ci/run-test-testing_aot_full_interp.sh index 37e20e9608f..30c0d60db64 100755 --- a/scripts/ci/run-test-testing_aot_full_interp.sh +++ b/scripts/ci/run-test-testing_aot_full_interp.sh @@ -29,3 +29,4 @@ ${TESTCMD} --label=System.Numerics --timeout=5m make -w -C mcs/class/System.Nume ${TESTCMD} --label=System.Net.Http --timeout=5m make -w -C mcs/class/System.Net.Http run-test ${TESTCMD} --label=System.Json --timeout=5m make -w -C mcs/class/System.Json run-test +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-testing_aot_hybrid.sh b/scripts/ci/run-test-testing_aot_hybrid.sh index 60762717cd1..089c6a07e7e 100755 --- a/scripts/ci/run-test-testing_aot_hybrid.sh +++ b/scripts/ci/run-test-testing_aot_hybrid.sh @@ -28,3 +28,5 @@ ${TESTCMD} --label=System.Net.Http --timeout=5m make -w -C mcs/class/System.Net. ${TESTCMD} --label=System.Json --timeout=5m make -w -C mcs/class/System.Json run-test rm -fr /tmp/jenkins-temp-aspnet* + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh diff --git a/scripts/ci/run-test-winaot.sh b/scripts/ci/run-test-winaot.sh index 6162eed65c0..d79154cd36b 100755 --- a/scripts/ci/run-test-winaot.sh +++ b/scripts/ci/run-test-winaot.sh @@ -34,3 +34,5 @@ ${TESTCMD} --label=System.Net.Http --timeout=5m make -w -C mcs/class/System.Net. ${TESTCMD} --label=System.Json --timeout=5m make -w -C mcs/class/System.Json run-test rm -fr /tmp/jenkins-temp-aspnet* + +${MONO_REPO_ROOT}/scripts/ci/run-upload-sentry.sh |