Skip to content
Permalink
Browse files
Fix JENKINS-20660 - null pointer exception on first run after upgrade…
… 0.8 to 0.9
  • Loading branch information
MarkEWaite committed Nov 27, 2013
1 parent 89b6e51 commit 8899ad4a7029753f48a671c83b4d6378676ca040
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/xshell/XShellBuilder.java
@@ -74,7 +74,7 @@ public String getTimeAllocated() {
public XShellBuilder(final String commandLine, final Boolean executeFromWorkingDir, final String regexToKill, final String timeAllocated) {
this.commandLine = Util.fixEmptyAndTrim(commandLine);
this.executeFromWorkingDir = executeFromWorkingDir;
this.regexToKill = regexToKill;
this.regexToKill = regexToKill == null ? "" : regexToKill;
this.timeAllocated = timeAllocated;
}

0 comments on commit 8899ad4

Please sign in to comment.