diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 12:35:49 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 12:35:49 +0100 |
commit | 66eb7801b6c10d23f38dc4d8c487370f4081ac68 (patch) | |
tree | ec2b3485a6f882bd3f300905a4edebd80297802a /builder_logic.py | |
parent | c135b11b3fc45e7c8452f4d3437d3ca60781eeb0 (diff) | |
download | buildslave-scripts-66eb7801b6c10d23f38dc4d8c487370f4081ac68.tar.gz |
debug
Diffstat (limited to 'builder_logic.py')
-rw-r--r-- | builder_logic.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builder_logic.py b/builder_logic.py index 5192fb4..72e6a16 100644 --- a/builder_logic.py +++ b/builder_logic.py @@ -86,11 +86,12 @@ def do_build_deploy(system): return trigger_deploy(system) def get_buildslave_scripts_sha(): - import os _cmd = ['git', 'log', REF, '--format=format:%H', '-1'] + _proc = subprocess.Popen(['ls'], stdout=subprocess.PIPE) + _out, _err = _proc.communicate() + log(_out) _proc = subprocess.Popen(_cmd, stdout=subprocess.PIPE) _out, _err = _proc.communicate() - log(os.getcwd()) return _out.split()[0] def get_definitions_sha(): |