code: private static File createResultsDirectory() {
          File resultsDirectory = CONFIG.getResultsDirectory();
  
          if (createDirectories(resultsDirectory)) {
              return resultsDirectory;
          }
  
          LOGGER.error(String.format(
                  "Results directory <%s> doesn't exists and can't be created, using default directory",
                  resultsDirectory.getAbsolutePath()
          ));
  
          resultsDirectory = getDefaultResultsDirectory();
          if (createDirectories(resultsDirectory)) {
              return resultsDirectory;
          }
  
          LOGGER.error(String.format(
                  "Default results directory <%s> doesn't exists and can't be created, using temp directory",
                  resultsDirectory.getAbsolutePath()
          ));
  
          try {
              return Files.createTempDirectory("allure-results").toFile();
          } catch (IOException e) {
              throw new AllureException("Can't create results directory", e);
          }
      }
docs: Create results directory. First step try to create {@link #CONFIG#getResultsDirectory()},
  if cannot, try to create {@link ru.yandex.qatools.allure.config.AllureConfig#getDefaultResultsDirectory},
  and if cannot, returns a new <code>File</code> instance by converting the "allure-results"
  pathname string into an abstract pathname.
  
  @return created results directory