更新jenkins脚本 修正语法错误
parent
c290f9995c
commit
9171120e30
|
|
@ -287,9 +287,10 @@ pipeline {
|
|||
}
|
||||
else
|
||||
{
|
||||
def crashsightId = (cfg?.CrashSightId ?: '').trim()
|
||||
def crashsightKey = (cfg?.CrashSightKey ?: '').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 crashsightConfig = cfg?."CrashSight_${PLATFORM_PARAM}"
|
||||
def crashsightId = (crashsightConfig?.id ?: '').trim()
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue