更新jenkins脚本 修正语法错误

main
zhangaotian 2025-08-15 14:49:13 +08:00
parent c290f9995c
commit 9171120e30
1 changed files with 4 additions and 3 deletions

View File

@ -287,9 +287,10 @@ pipeline {
} }
else else
{ {
def crashsightId = (cfg?.CrashSightId ?: '').trim() def crashsightConfig = cfg?."CrashSight_${PLATFORM_PARAM}"
def crashsightKey = (cfg?.CrashSightKey ?: '').trim() def crashsightId = (crashsightConfig?.id ?: '').trim()
upload_result = sh(script: "$WORKSPACE/Tool/build_tools/upload_symbol_file_crashsight.sh ${VERSION_PARAM} ${PLATFORM_PARAM} ${symbol_path} ${crashsightId} ${crashsightKey}", returnStatus: true, returnStdout: false) def crashsightKey = (crashsightConfig?.key ?: '').trim()
upload_result = sh(script: "$WORKSPACE/Tool/build_tools/upload_symbol_file.sh ${VERSION_PARAM} ${PLATFORM_PARAM} ${symbol_path} ${crashsightId} ${crashsightKey}", returnStatus: true, returnStdout: false)
} }
if(upload_result != 0) if(upload_result != 0)
{ {