diff options
| author | liuxueli <[email protected]> | 2020-06-30 17:10:43 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-06-30 17:10:43 +0800 |
| commit | a19b0db52bc8a681e89902f0ce4f8f0304945ee3 (patch) | |
| tree | 311d04b3cc2e5e66fdfe05b674266df2c79b297f /ci | |
| parent | 43ac760c127ef035a0eeccb3508595b18b71459f (diff) | |
将dns的调试符号上传至Sentryv2.0.4
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 40a2780..ccfe6b2 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -55,10 +55,9 @@ fi if [ -n "${UPLOAD}" ]; then cp ~/rpm_upload_tools.py ./ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm -fi -#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then -# rpm -i tfe*debuginfo*.rpm -# cp /usr/lib/debug/opt/tsg/tfe/bin/tfe.debug /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA} -# sentry-cli upload-dif -t elf /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA} -#fi + rpm -i $SYMBOL_TARGET*debuginfo*.rpm + _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"` + cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} + sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} +fi |
