diff --git a/Editor/BuildTool/JenkinsAgent.cs b/Editor/BuildTool/JenkinsAgent.cs index c0361f4..fac4914 100644 --- a/Editor/BuildTool/JenkinsAgent.cs +++ b/Editor/BuildTool/JenkinsAgent.cs @@ -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]}"); + } } }