@Override
  public CiConfiguration loadConfiguration() {
    String revision = system.envVariable("SYSTEM_PULLREQUEST_SOURCECOMMITID");
    if (isBlank(revision)) {
      revision = system.envVariable("BUILD_SOURCEVERSION");
    }
    return new CiConfigurationImpl(revision, getName());
  }
@Test
  public void loadConfiguration_on_branch() {
    setEnvVariable("BUILD_SOURCEVERSION", "abd12fc");

    assertThat(underTest.loadConfiguration().getScmRevision()).hasValue("abd12fc");
  }