From: Michael Tremer Date: Thu, 17 Aug 2023 09:48:50 +0000 (+0000) Subject: sources: Automatically launch builds after dist X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c90c149082c45f70a6e2c84cd4743d0c0705eb3;p=pbs.git sources: Automatically launch builds after dist Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/sources.py b/src/buildservice/sources.py index 4269a499..6aa21a94 100644 --- a/src/buildservice/sources.py +++ b/src/buildservice/sources.py @@ -834,8 +834,8 @@ class Job(base.DataObject): for user in self.commit.get_watchers(): build.add_watcher(user) - # Return the build - return build + # Launch the build + await self.backend.builds.launch(build) # Catch any exceptions and log them except Exception as e: