diff --git a/TODO b/TODO index c718b21..84a8c39 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,6 @@ * figure out htpasswd & auth for scheduling builds [Michael] * ensure need auth to trigger builds [Michael] - * Display poky revision in web UI, not the yocto-autobuilder-helper revision [Paul] # Future diff --git a/builders.py b/builders.py index 7a21b79..19e9425 100644 --- a/builders.py +++ b/builders.py @@ -198,6 +198,11 @@ factory.addStep(steps.ShellCommand( haltOnFailure=True, name="Unpack shared repositories")) +factory.addStep(steps.SetPropertyFromCommand(command=util.Interpolate("cd %(prop:sharedrepolocation)s/poky; git rev-parse HEAD"), + property="got_revision", + haltOnFailure=True, + name='Set build revision')) + # run-config factory.addStep(steps.ShellCommand( command=[