]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
actually trigger builds now
authorHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:01:39 +0000 (20:01 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:01:39 +0000 (20:01 +0200)
debian_build.py

index 5f877fb53ab9ca9186add3377ea7759785377eeb..a1e4f7d30079477ab344e466adc20ee4276d8acf 100755 (executable)
@@ -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: