diff options
Diffstat (limited to 'commands/build')
-rwxr-xr-x | commands/build | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/commands/build b/commands/build index 99f3048..b90f0fa 100755 --- a/commands/build +++ b/commands/build @@ -1,8 +1,12 @@ -#!/usr/bin/python -u +#!/bin/bash -import common +commandsdir=`dirname "$0"` +rootdir=`dirname "$commandsdir"` +helpersdir=$commandsdir/helpers -from devbot import build +timestamp=`date +%Y%m%d-%H%M%S` +logfile=$rootdir/logs/build-$timestamp.log -common.setup() -build.build() +PYTHONPATH=$commandsdir $helpersdir/build | tee -a $logfile + +exit ${PIPESTATUS[0]} |