From: Holger Levsen Date: Tue, 25 Oct 2011 18:01:39 +0000 (+0200) Subject: actually trigger builds now X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=61c219b233579191b23fb0f326366061432e09bf;p=profitbricks%2Fjenkins-build-scripts.git actually trigger builds now --- diff --git a/debian_build.py b/debian_build.py index 5f877fb..a1e4f7d 100755 --- a/debian_build.py +++ b/debian_build.py @@ -483,7 +483,13 @@ if __name__ == '__main__': FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours") fh = open(FLAVOURS_FILE, 'r') for flavour in fh.read(): - logger.info('trigger_oot_binary_builds %s %s %s %s' % (JOB_NAME, flavour, DIST, PB_SUITE)) + cmd = ['%s' % (os.path.join(CWD, "build-oot.sh"), + '%s' % JOB_NAME, + '%s' % flavour, + '%s' % options.distributions, + '%s' % pb_suite ] + logger.info('calling %s' % cmd) + subprocess.check_call(cmd) fh.close() exit_ok() except Exception, error: