elasticsearch-build-benchmark-part2.scenarios 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // ensure branch scenario is listed first as this is the gradle version that will picked for inspecting the build
  2. default-scenarios = ["precommit_branch", "precommit_main"]
  3. precommit_main {
  4. title = "precommit (main)"
  5. versions = ["@mainWrapper@"]
  6. cleanup-tasks = ["clean"]
  7. tasks = ["precommit"]
  8. gradle-args = ["--no-scan", "--no-build-cache", "--stacktrace"]
  9. run-using = cli // value can be "cli" or "tooling-api"
  10. daemon = warm // value can be "warm", "cold", or "none"
  11. warm-ups = 5
  12. iterations = 10
  13. system-properties {
  14. "BUILD_PERFORMANCE_TEST" = "true"
  15. }
  16. git-checkout = {
  17. build = "main"
  18. }
  19. }
  20. precommit_branch {
  21. title = "precommit (@testGitCommit@)"
  22. versions = ["@branchWrapper@"]
  23. cleanup-tasks = ["clean"]
  24. tasks = ["precommit"]
  25. gradle-args = ["--no-scan", "--no-build-cache", "--stacktrace"]
  26. run-using = cli // value can be "cli" or "tooling-api"
  27. daemon = warm // value can be "warm", "cold", or "none"
  28. warm-ups = 5
  29. iterations = 10
  30. system-properties {
  31. "BUILD_PERFORMANCE_TEST" = "true"
  32. }
  33. git-checkout = {
  34. build = "@testGitCommit@"
  35. }
  36. }