aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Chan <aaron.chun.yew.chan@intel.com>2018-10-30 05:39:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-07 10:42:06 +0000
commit81273de5ac826e2c83dbd83cb028103a720db533 (patch)
treeb2b9f9092b2c790e02d143b42502b361b2ab7dd0
parent7075f031ba555a2863cbce39d6e99e0a5f5fbf98 (diff)
downloadyocto-autobuilder2-81273de5ac826e2c83dbd83cb028103a720db533.tar.gz
yocto-autobuilder2-81273de5ac826e2c83dbd83cb028103a720db533.tar.bz2
yocto-autobuilder2-81273de5ac826e2c83dbd83cb028103a720db533.zip
builders: Inherit build properties from nightly scheduler
This change enables the children jobs to inherit the build property from nightly scheduler. Build property inherits yocto release, milestone and rc number from parent job. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--builders.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/builders.py b/builders.py
index 3976ebb..c5e4e6c 100644
--- a/builders.py
+++ b/builders.py
@@ -272,12 +272,18 @@ def get_props_set():
"buildappsrcrev": "",
"deploy_artefacts": util.Property("deploy_artefacts"),
"publish_destination": util.Property("publish_destination"),
+ "yocto_number": util.Property("yocto_number"),
+ "milestone_number": util.Property("milestone_number"),
+ "rc_number": util.Property("rc_number")
}
for repo in config.repos:
set_props["branch_%s" % repo] = util.Property("branch_%s" % repo)
set_props["commit_%s" % repo] = util.Property("commit_%s" % repo)
set_props["repo_%s" % repo] = util.Property("repo_%s" % repo)
+ set_props["yocto_number"] = util.Property("yocto_number")
+ set_props["milestone_number"] = util.Property("milestone_number")
+ set_props["rc_number"] = util.Property("rc_number")
return set_props