Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JENKINS-14483 Remaining Xvfb processes in matrix jobs
return empty environment instead of null from setUp method
  • Loading branch information
Zoran Regvart committed Sep 19, 2012
1 parent b25ee74 commit a53ce0e
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -251,8 +251,9 @@ public Environment setUp(@SuppressWarnings("rawtypes") final AbstractBuild build
if (!launcher.isUnix()) {
listener.getLogger().println(Messages.XvfbBuildWrapper_NotUnix());

// we'll abort
return null;
// we'll return empty environment
return new Environment() {
};
}

final XvfbEnvironment xvfbEnvironment = launchXvfb(build, launcher, listener);
Expand Down

0 comments on commit a53ce0e

Please sign in to comment.