File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
elasticsearch-api/spec/yaml-test-runner Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
33
TRANSPORT_VERSION : " {{ matrix.transport }}"
34
34
RUBY_SOURCE : " {{ matrix.ruby_source }}"
35
35
TEST_SUITE : " platinum"
36
+ DEBUG : true
36
37
command : ./.buildkite/run-yaml-tests.sh
38
+ artifact_paths : " elasticsearch-api/tmp/*"
37
39
- wait : ~
38
40
continue_on_failure : true
39
41
- label : " Log Results"
Original file line number Diff line number Diff line change 56
56
end
57
57
58
58
tests_path = File . expand_path ( './tmp' , __dir__ )
59
-
60
- logger = Logger . new ( $stdout )
61
- logger . level = Logger :: WARN unless ENV [ 'DEBUG' ]
59
+ logfile = File . expand_path "../../tmp/tests- #{ Elasticsearch :: VERSION } -transport- #{ ENV [ 'TRANSPORT_VERSION' ] } -ruby- #{ ENV [ 'RUBY_VERSION' ] } .log" , __dir__
60
+ logger = Logger . new ( File . open ( logfile , 'w' ) )
61
+ logger . level = ENV [ 'DEBUG' ] ? Logger :: DEBUG : Logger :: WARN
62
62
63
63
# If we're running in a release branch, download the corresponding branch for tests
64
64
current_branch = `git rev-parse --abbrev-ref HEAD` . strip
You can’t perform that action at this time.
0 commit comments