Skip to content

Commit bd77867

Browse files
committed
[CI] Log test results to a file in Buildkite
1 parent 946acf7 commit bd77867

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ steps:
4949
TRANSPORT_VERSION: "{{ matrix.transport }}"
5050
RUBY_SOURCE: "{{ matrix.ruby_source }}"
5151
TEST_SUITE: "platinum"
52+
DEBUG: true
5253
command: ./.buildkite/run-yaml-tests.sh
5354
- wait: ~
5455
continue_on_failure: true

elasticsearch-api/spec/yaml-test-runner/run.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
tests_path = File.expand_path('./tmp', __dir__)
5959

60-
logger = Logger.new($stdout)
60+
logger = Logger.new("#{tests_path}/transport-#{ENV['TRANSPORT_VERSION']}-#{ENV['RUBY_VERSION']}.log")
6161
logger.level = Logger::WARN unless ENV['DEBUG']
6262

6363
# If we're running in a release branch, download the corresponding branch for tests

0 commit comments

Comments
 (0)