Skip to content

Instantly share code, notes, and snippets.

@tomprince
Created April 4, 2011 04:37
Show Gist options
  • Save tomprince/901137 to your computer and use it in GitHub Desktop.
Save tomprince/901137 to your computer and use it in GitHub Desktop.
diff --git a/master/buildbot/steps/trigger.py b/master/buildbot/steps/trigger.py
index e754270..b069bd9 100644
--- a/master/buildbot/steps/trigger.py
+++ b/master/buildbot/steps/trigger.py
@@ -193,3 +193,6 @@ class Trigger(LoggingBuildStep):
d.addCallbacks(cb, eb)
d.addErrback(log.err, '(ignored) while triggering builds:')
+
+ if not self.waitForFinish:
+ self.end(SUCCESS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment