Mercurial > bitten > bitten-test
diff bitten/master.py @ 185:2c24d9a950ed
Add a `--dry-run` option to the build slave. This will result in the slave being registered and executing builds, but without submitting the progress and results of the build back to the server. Useful for getting the configuration of new slaves right without polluting the database with invalid builds.
author | cmlenz |
---|---|
date | Wed, 31 Aug 2005 17:24:35 +0000 |
parents | fbf949f4c706 |
children | 8dbddcd0ef00 |
line wrap: on
line diff
--- a/bitten/master.py +++ b/bitten/master.py @@ -299,7 +299,7 @@ assert payload.content_type == beep.BEEP_XML elem = xmlio.parse(payload.body) if elem.name == 'error': - log.warning('Slave %s did not accept archive: %s (%d)', + log.warning('Slave %s refused to start build: %s (%d)', self.name, elem.gettext(), int(elem.attr['code'])) @@ -392,7 +392,7 @@ step.delete(db=db) store = ReportStore(self.env) - store.delete_reports(build=build.id) + store.delete_reports(build=build) build.slave = None build.started = 0