update: 更新 Jenkins 参数解析逻辑
parent
905f683c7c
commit
f0a64b1e2c
|
|
@ -23,9 +23,18 @@ namespace Guru.Editor
|
|||
p = commandlineArgs[i];
|
||||
Debug.Log($"--- [{i}]: {p}");
|
||||
|
||||
if (p.StartsWith("-param"))
|
||||
if (p.StartsWith("+args"))
|
||||
{
|
||||
Debug.Log($"--- find param: {p}");
|
||||
var args = p.Split('-');
|
||||
if (args.Length > 1)
|
||||
{
|
||||
Debug.Log($"--- ENV: {args[1]}");
|
||||
}
|
||||
if (args.Length > 2)
|
||||
{
|
||||
Debug.Log($"--- VERSION: {args[2]}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue