Skip to content

Commit 0362b88

Browse files
authored
Merge pull request #429 from Microsoft/users/kasubram/rmwildcardfix
Resolve the path containing wildcards in filePath task input
2 parents 0b2a9c1 + 6605a70 commit 0362b88

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Agent.Worker/Release/ReleaseJobExtension.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ public string GetRootedPath(IExecutionContext context, string path)
4646
}
4747
catch (Exception ex)
4848
{
49-
Trace.Info($"Path resolved is a rooted path, but it is not a full qualified path: {path}");
49+
Trace.Info($"Path resolved is a rooted path, but it is not fully qualified, return the path: {path}");
5050
Trace.Error(ex);
51+
return path;
5152
}
5253
}
5354

@@ -69,8 +70,9 @@ public string GetRootedPath(IExecutionContext context, string path)
6970
}
7071
catch (Exception ex)
7172
{
72-
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}");
73+
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}");
7374
Trace.Error(ex);
75+
return path;
7476
}
7577
}
7678
}

0 commit comments

Comments
 (0)