result = orchestrator.executeBuild(build, false);
assertTrue(result.isSuccess());</BUG>
}
<BUG>private SonarRunner createRunner(boolean enableOffline) {
SonarRunner runner = newRunner(new File("projects/java-sample"))
.setProperty("sonar.analysis.mode", "preview")

.setProfile("sonar-way");
if (enableOffline) {
runner.setProperty("sonar.enableOffline", "true");
}</BUG>
return runner;

result = orchestrator.executeBuild(build, false);
assertThat(result.isSuccess()).isTrue();
build = createRunner("issues", true);
try {
result = orchestrator.executeBuild(build);
} catch (BuildFailureException e) {
assertThat(e.getResult().getLogs()).contains("Server is not accessible and data is not cached");
