Skip to content

Commit

Permalink
fix bug. refs JENKINS-9649
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy0taka committed Oct 9, 2011
1 parent 72dfefd commit 108de79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/g2one/hudson/grails/GrailsBuilder.java
Expand Up @@ -167,7 +167,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
args.add(execName);
} else {
File exec = grailsInstallation.getExecutable();
if (!grailsInstallation.getExists()) {
if (!new FilePath(launcher.getChannel(), grailsInstallation.getExecutable().getPath()).exists()) {
listener.fatalError(exec + " doesn't exist");
return false;
}
Expand Down

0 comments on commit 108de79

Please sign in to comment.