From 7543d9fbc0e9012bc8b0104ee44620e13f8df8c8 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 1 Jul 2020 09:33:35 +0800 Subject: 将ssl的调试符号上传至Sentry 调整preInstall和preUninstall的位置 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci/travis.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ci') 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 -- cgit v1.2.3