Skip to content

Commit 4748ec8

Browse files
committed
codereview changes
1 parent 05764de commit 4748ec8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,17 +724,18 @@ tasks.register("runIntegrationTests") {
724724

725725
tasks.register("installAcceptanceTestGems", Exec) {
726726
dependsOn bootstrap
727-
inputs.files file("${projectDir}/qa/Gemfile")
727+
inputs.file("${projectDir}/qa/Gemfile")
728728
outputs.file("${projectDir}/qa/Gemfile.lock")
729729
workingDir "${projectDir}/qa"
730-
commandLine "${projectDir}/vendor/jruby/bin/jruby", "-S", "bundle", "install", "--path", "vendor/bundle"
730+
environment "BUNDLE_PATH", "vendor/bundle"
731+
commandLine "${projectDir}/vendor/jruby/bin/jruby", "-S", "bundle", "install"
731732
}
732733

733734
tasks.register("runAcceptanceTests", Exec) {
734735
dependsOn installAcceptanceTestGems
735736
workingDir "${projectDir}/qa"
736737
// NOTE: We sub-process here to avoid issues in java 21+ with Jruby whereby access to some modules that
737-
// are required for file descriptors to be properly inherieted when ruby does sub-processing.
738+
// are required for file descriptors to be properly inherited when ruby does sub-processing.
738739
// https://github.com/elastic/logstash/pull/18536#discussion_r2655013858
739740
commandLine "${projectDir}/vendor/jruby/bin/jruby", "-S", "bundle", "exec", "rake", "qa:acceptance:all"
740741
}

0 commit comments

Comments
 (0)