Skip to content

Commit

Permalink
fix bug. refs JENKINS-13813
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy0taka committed May 18, 2012
1 parent 3829d24 commit 9236327
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/g2one/hudson/grails/GrailsBuilder.java
Expand Up @@ -144,11 +144,13 @@ public GrailsInstallation getGrails() {
private Object readResolve() {
// Default to false when loading old data to preserve previous behavior.
if (nonInteractive == null) nonInteractive = Boolean.FALSE;
if (useWrapper == null) useWrapper = Boolean.FALSE;
return this;
}

@Override
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
readResolve();
List<String[]> targetsToRun = getTargetsToRun();
if (targetsToRun.size() > 0) {
String execName;
Expand Down

0 comments on commit 9236327

Please sign in to comment.