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 3333 TRANSPORT_VERSION : " {{ matrix.transport }}"
3434 RUBY_SOURCE : " {{ matrix.ruby_source }}"
3535 TEST_SUITE : " platinum"
36+ DEBUG : true
3637 command : ./.buildkite/run-yaml-tests.sh
38+ artifact_paths : " elasticsearch-api/tmp/*"
3739 - wait : ~
3840 continue_on_failure : true
3941 - label : " Log Results"
Original file line number Diff line number Diff line change 5656 end
5757
5858tests_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
6262
6363# If we're running in a release branch, download the corresponding branch for tests
6464current_branch = `git rev-parse --abbrev-ref HEAD` . strip
You can’t perform that action at this time.
0 commit comments