Skip to content

Commit

Permalink
JENKINS-15638 Xvfb 'display name offset' defaults to 0, not 1 as
Browse files Browse the repository at this point in the history
described, if unset
 - added missing getter for display name offset
  • Loading branch information
Zoran Regvart committed Nov 5, 2012
1 parent 8b20973 commit 5ddf36d
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -186,6 +186,10 @@ public Integer getDisplayName() {
return displayName;
}

public int getDisplayNameOffset() {
return displayNameOffset;
}

public XvfbInstallation getInstallation(final EnvVars env, final Node node, final BuildListener listener) {
for (final XvfbInstallation installation : getDescriptor().getInstallations()) {
if (installationName != null && installationName.equals(installation.getName())) {
Expand Down Expand Up @@ -241,7 +245,7 @@ private XvfbEnvironment launchXvfb(@SuppressWarnings("rawtypes") final AbstractB
if (installation == null) {
listener.error(Messages.XvfbBuildWrapper_NoInstallationsConfigured());

return null;
throw new InterruptedException();
}

final String path = installation.getHome();
Expand Down

0 comments on commit 5ddf36d

Please sign in to comment.