[Scummvm-git-logs] scummvm-sites director-buildbot -> d7a417995a5c78dca7c8bee55ed1a2fbe082d8a2
sev-
noreply at scummvm.org
Tue Apr 4 20:45:37 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-sites' repo located at https://github.com/scummvm/scummvm-sites .
Summary:
d7a417995a DIRECTOR-BUILDBOT: Fix build number exposure
Commit: d7a417995a5c78dca7c8bee55ed1a2fbe082d8a2
https://github.com/scummvm/scummvm-sites/commit/d7a417995a5c78dca7c8bee55ed1a2fbe082d8a2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-04-04T22:45:01+02:00
Commit Message:
DIRECTOR-BUILDBOT: Fix build number exposure
Changed paths:
director/steps.py
diff --git a/director/steps.py b/director/steps.py
index 333ee9f..167dd5c 100644
--- a/director/steps.py
+++ b/director/steps.py
@@ -151,7 +151,8 @@ class GenerateStartMovieCommands(buildstep.ShellMixin, steps.BuildStep):
if result == util.SUCCESS:
stdout = self.observer.getStdout()
scripts = sorted(line for line in stdout.split("\n") if line.strip())
- default_env["BUILD_NUMBER"] = Property("buildnumber").__str__()
+ env = default_env.copy()
+ env["BUILD_NUMBER"] = util.Interpolate("%(prop:buildnumber)s")
self.build.addStepsAfterCurrentStep(
[
@@ -160,7 +161,7 @@ class GenerateStartMovieCommands(buildstep.ShellMixin, steps.BuildStep):
description=name,
descriptionDone=name,
command=self.generate_command(name),
- env=default_env,
+ env=env,
timeout=int(settings["TIMEOUT"]),
maxTime=int(settings["MAX_TIME"]),
interruptSignal="QUIT",
More information about the Scummvm-git-logs
mailing list