mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
[FIXED HUDSON-4693] Changed checkFileInWorkspace to look at getModuleRoot(), reverting to earlier behavior
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28942 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
0ecc06be2f
commit
d0f06f3deb
1 file changed
+1
-1
@@ -736,7 +736,7 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
public FormValidation doCheckFileInWorkspace(@QueryParameter String value) throws IOException, ServletException {
|
||||
MavenModuleSetBuild lb = getLastBuild();
|
||||
if (lb!=null) {
|
||||
FilePath ws = lb.getWorkspace();
|
||||
FilePath ws = lb.getModuleRoot();
|
||||
if(ws!=null)
|
||||
return ws.validateRelativePath(value,true,true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user