From 6605a70ee550857e5e4f67e4d4f15427e8e8258f Mon Sep 17 00:00:00 2001 From: Kalyan Date: Thu, 21 Jul 2016 19:13:19 +0530 Subject: [PATCH] Resolve the path containing wildcards in filePath task input --- src/Agent.Worker/Release/ReleaseJobExtension.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Agent.Worker/Release/ReleaseJobExtension.cs b/src/Agent.Worker/Release/ReleaseJobExtension.cs index c5ebf92c59..e1a5988895 100644 --- a/src/Agent.Worker/Release/ReleaseJobExtension.cs +++ b/src/Agent.Worker/Release/ReleaseJobExtension.cs @@ -46,8 +46,9 @@ public string GetRootedPath(IExecutionContext context, string path) } catch (Exception ex) { - Trace.Info($"Path resolved is a rooted path, but it is not a full qualified path: {path}"); + Trace.Info($"Path resolved is a rooted path, but it is not fully qualified, return the path: {path}"); Trace.Error(ex); + return path; } } @@ -69,8 +70,9 @@ public string GetRootedPath(IExecutionContext context, string path) } catch (Exception ex) { - Trace.Info($"After prefix Artifact Path Root provide by JobExtension, the Path is a rooted path, but it is not a full qualified path: {path}"); + Trace.Info($"After prefix Artifact Path Root provide by JobExtension. The Path is a rooted path, but it is not fully qualified, return the path: {path}"); Trace.Error(ex); + return path; } } }