[pypy-commit] buildbot default: differentiate between projects in upload
mattip
pypy.commits at gmail.com
Wed Feb 5 15:21:19 EST 2020
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r1130:e6539bdaaa08
Date: 2020-02-05 22:20 +0200
http://bitbucket.org/pypy/buildbot/changeset/e6539bdaaa08/
Log: differentiate between projects in upload
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -931,6 +931,7 @@
# set from testrunner/get_info.py
target = props.getProperty('target_path')
exe = os.path.split(target)[-1][:-2]
+ project = opros.getProperty('project', default='PyPy')
rev = props.getProperty('got_revision')
branch = props.getProperty('branch')
if branch == 'None' or branch is None:
@@ -941,13 +942,13 @@
'--args', ',--jit off',
'--upload',
'--upload-executable', exe + postfix,
- '--upload-project', 'PyPy',
+ '--upload-project', project,
'--revision', rev,
'--branch', branch,
'--upload-urls', 'https://speed.pypy.org/',
'--upload-baseline',
'--upload-baseline-executable', exe + '-jit' + postfix,
- '--upload-baseline-project', 'PyPy',
+ '--upload-baseline-project', project,
'--upload-baseline-revision', rev,
'--upload-baseline-branch', branch,
'--upload-baseline-urls', 'https://speed.pypy.org/',
More information about the pypy-commit
mailing list