@CheckForNull public FilePath getRootPath() { final SlaveComputer computer = getComputer(); if (computer == null) { // if computer is null then channel is null and thus we were going to return null anyway return null; } else { return createPath(StringUtils.defaultString(computer.getAbsoluteRemoteFs(), remoteFS)); } }
SlaveComputer c = getComputer(); if (c == null) { listener.error("Issue with creating launcher for agent " + name + ". Computer has been disconnected");
@Override public OneShotComputer getComputer() { return (OneShotComputer) super.getComputer(); }
@Override public OneShotComputer getComputer() { return (OneShotComputer) super.getComputer(); }
@CheckForNull public FilePath getRootPath() { final SlaveComputer computer = getComputer(); if (computer == null) { // if computer is null then channel is null and thus we were going to return null anyway return null; } else { return createPath(StringUtils.defaultString(computer.getAbsoluteRemoteFs(), remoteFS)); } }
public Launcher createLauncher(TaskListener listener) { SlaveComputer c = getComputer(); return new RemoteLauncher(listener, c.getChannel(), c.isUnix()).decorateFor(this); }
public Launcher createLauncher(TaskListener listener) { SlaveComputer c = getComputer(); return new RemoteLauncher(listener, c.getChannel(), c.isUnix()).decorateFor(this); }
public Launcher createLauncher(TaskListener listener) { SlaveComputer c = getComputer(); return new RemoteLauncher(listener, c.getChannel(), c.isUnix()).decorateFor(this); }
public Launcher createLauncher(TaskListener listener) { SlaveComputer c = getComputer(); return new RemoteLauncher(listener, c.getChannel(), c.isUnix()).decorateFor(this); }
SlaveComputer c = getComputer(); if (c == null) { listener.error("Issue with creating launcher for agent " + name + ". Computer has been disconnected");