diff bitten/slave.py @ 60:055a6c666fa8

* Pass a {{{Context}}} object to recipe commands as the first argument. Currently this only has the basedir, but will be extended to also provide output recording etc. * Fixes and cleanup to the recipe functions. * The build master now checks for failed build steps and sets the status of the build to ''failure'' if any step failed. * The test runner distutils command now also records output to stderr and stdout by the tests. * Upped version number to [milestone:0.2 0.2].
author cmlenz
date Mon, 27 Jun 2005 21:50:58 +0000
parents ef78d71667ad
children 47ab019508dd
line wrap: on
line diff
--- a/bitten/slave.py
+++ b/bitten/slave.py
@@ -133,7 +133,7 @@
             try:
                 for function, args in step:
                     logging.debug('Executing command "%s"', function)
-                    function(recipe.basedir, **args)
+                    function(recipe.ctxt, **args)
                 xml = xmlio.Element('step', id=step.id, result='success',
                                     description=step.description)
                 self.channel.send_ans(msgno, beep.MIMEMessage(xml))
Copyright (C) 2012-2017 Edgewall Software