更新jenkins脚本 修正语法错误
parent
c290f9995c
commit
9171120e30
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue