Beispiel #1
0
  @Override
  public void build(BuildRequest request) throws BuildException {

    List<String> args = mergeArguments(request);
    ShellCommand command =
        ShellCommand.builder() //
            .executable(executable) //
            .arguments(args) //
            .workingDirectory(request.getProjectRootDirectory()) //
            .environment(request.getBuildEnvironment()) //
            .ioRedirects(request.getIoRedirects()) //
            .timeoutMs(request.getTimeoutMs()) //
            .build();
    Shell.execute(command).assertSuccess();
  }