Welcome to mirror list, hosted at ThFree Co, Russian Federation.

run-upload-sentry.sh « ci « scripts - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2527b53a34db8f842e5ee76a80ea55282671a0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash -e
export TESTCMD=`dirname "${BASH_SOURCE[0]}"`/run-step.sh

export MONO_SENTRY_ROOT=`dirname "${BASH_SOURCE[0]}/../../"`

if [[ ${CI_TAGS} == *'win-'* ]];
then
	echo "Skipping telemetry phase due to arch"
elif [[ -n "${MONO_SENTRY_URL}" ]]
then
	# Define MONO_SENTRY_URL and MONO_SENTRY_OS in environment
	${TESTCMD} --label=sentry-telemetry-upload --timeout=10m make -C mcs/tools/upload-to-sentry upload-crashes MONO_SENTRY_ROOT="$MONO_REPO_ROOT"
else
	echo "Skipping telemetry phase because URL missing"
fi