fix: Switch local environment detection to depend on BUILD_NUMBER instead of CI (#2962)

CI is only available on Jenkins v2.289.1, nightly builds are still run on Jenkins 2.277.4

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>
monroegm-disable-blank-issue-2
Cynthia Lin 4 years ago committed by GitHub
parent fb3195d996
commit b21b0e12e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ class BenchmarkDataAggregator(object):
def __init__(self, workspace, logger, test_suite):
self.build_dir = workspace.paths.build_directory()
self.results_dir = Path(workspace.paths.project(), 'user/Scripts/PerformanceBenchmarks')
self.test_suite = test_suite if os.environ.get('CI') else 'local'
self.test_suite = test_suite if os.environ.get('BUILD_NUMBER') else 'local'
self.filebeat_client = FilebeatClient(logger)
def _update_pass(self, pass_stats, entry):

Loading…
Cancel
Save