@Override
  public CiConfiguration loadConfiguration() {
    String revision = system.envVariable("FCI_COMMIT");
    if (isEmpty(revision)) {
      LOG.warn("Missing environment variable FCI_COMMIT");
    }
    return new CiConfigurationImpl(revision, getName());
  }
@Test
  public void loadConfiguration_commitEnvVariableNotAvailable_addScmRevisionToConfig() {
    setEnvVariable("FCI_BUILD_ID", "1");

    CiConfiguration ciConfiguration = underTest.loadConfiguration();
    List<String> logs = logTester.logs(Level.WARN);

    assertThat(ciConfiguration.getScmRevision()).isEmpty();
    assertThat(logs).hasSize(1);
    assertThat(logs.get(0)).isEqualTo("Missing environment variable FCI_COMMIT");
  }