mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
builders.py: Attempt to set revision earlier
This means the display will show the correct revision before triggering and waiting for all the builds to complete making the display less confusing. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b5970d5b49
commit
52bb871dd9
|
@ -236,15 +236,16 @@ def get_props_set():
|
||||||
|
|
||||||
return set_props
|
return set_props
|
||||||
|
|
||||||
factory.addStep(steps.Trigger(schedulerNames=['wait'],
|
|
||||||
waitForFinish=True,
|
|
||||||
set_properties=get_props_set()))
|
|
||||||
|
|
||||||
factory.addStep(steps.SetPropertyFromCommand(command=util.Interpolate("cd %(prop:sharedrepolocation)s/poky; git rev-parse HEAD"),
|
factory.addStep(steps.SetPropertyFromCommand(command=util.Interpolate("cd %(prop:sharedrepolocation)s/poky; git rev-parse HEAD"),
|
||||||
property="got_revision",
|
property="got_revision",
|
||||||
haltOnFailure=True,
|
haltOnFailure=True,
|
||||||
name='Set build revision'))
|
name='Set build revision'))
|
||||||
|
|
||||||
|
factory.addStep(steps.Trigger(schedulerNames=['wait'],
|
||||||
|
waitForFinish=True,
|
||||||
|
set_properties=get_props_set()))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: send QA mail if a release - compose and pass to sendmail command?
|
# TODO: send QA mail if a release - compose and pass to sendmail command?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user