report git branch to testing closet
This commit is contained in:
parent
e29fd90058
commit
f1c3662311
|
@ -68,6 +68,7 @@ def heartbeat():
|
|||
'version': version,
|
||||
'dongle_id': params.get("DongleId").rstrip().decode('utf8'),
|
||||
'remote': subprocess.check_output(["git", "config", "--get", "remote.origin.url"], cwd=work_dir).decode('utf8').rstrip(),
|
||||
'branch': subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], cwd=work_dir).decode('utf8').rstrip(),
|
||||
'revision': subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=work_dir).decode('utf8').rstrip(),
|
||||
'serial': subprocess.check_output(["getprop", "ro.boot.serialno"]).decode('utf8').rstrip(),
|
||||
'tmux': tmux,
|
||||
|
|
Loading…
Reference in a new issue