Skip to content

Commit

Permalink
Propagate 'isCI' system property to BWC build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Dec 13, 2023
1 parent 21f0591 commit 0fb819c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ private TaskProvider<LoggedExec> createRunBwcGradleTask(
loggedExec.args("-Dorg.elasticsearch.build.cache.url=" + buildCacheUrl);
}

if (System.getProperty("isCI") != null) {
loggedExec.args("-DisCI");
}

loggedExec.args("-Dbuild.snapshot=true", "-Dscan.tag.NESTED");
final LogLevel logLevel = project.getGradle().getStartParameter().getLogLevel();
List<LogLevel> nonDefaultLogLevels = Arrays.asList(LogLevel.QUIET, LogLevel.WARN, LogLevel.INFO, LogLevel.DEBUG);
Expand Down

0 comments on commit 0fb819c

Please sign in to comment.