public boolean canRun()

in cmake-runner-agent/src/jetbrains/buildServer/cmakerunner/agent/MakeRunnerCLBSFactory.java [35:45]


  public boolean canRun(@NotNull final BuildAgentConfiguration agentConfiguration) {
    if (!OSUtil.isOSSupported()) {
      LOG.info(MakeRunnerConstants.DISPLAY_NAME + " runner disabled: OS '" + System.getProperty("os.name") + "' is not supported");
      return false;
    }
    if (!OSUtil.isCLIExist(agentConfiguration.getBuildParameters().getEnvironmentVariables())) {
      LOG.info(MakeRunnerConstants.DISPLAY_NAME + " runner disabled: shell not found");
      return false;
    }
    return true;
  }