diff --git a/core/src/main/java/hudson/model/Slave.java b/core/src/main/java/hudson/model/Slave.java index f1f67925e70e9c186edf723881aaee59aa033e37..74b785d262625095e32668e90f8c9f6c46eed259 100644 --- a/core/src/main/java/hudson/model/Slave.java +++ b/core/src/main/java/hudson/model/Slave.java @@ -290,7 +290,7 @@ public abstract class Slave extends Node implements Serializable { URL res = Jenkins.getInstance().servletContext.getResource("/WEB-INF/" + name); if(res==null) { // during the development this path doesn't have the files. - res = new URL(new File(".").getAbsoluteFile().toURI().toURL(),"target/generated-resources/WEB-INF/"+name); + res = new URL(new File(".").getAbsoluteFile().toURI().toURL(),"target/jenkins/WEB-INF/"+name); } return res; }