[yocto] [AB PATCH 19/22] SetDest.py: Use new UI variables.
Elizabeth Flanagan
elizabeth.flanagan at intel.com
Wed Mar 19 13:51:17 PDT 2014
From: Beth Flanagan <elizabeth.flanagan at intel.com>
How we name releases is a lot more complex than the old UI could
handle. This alligns us a bit more with what we actually do.
Signed-off-by: Beth Flanagan <elizabeth.flanagan at intel.com>
---
lib/python2.7/site-packages/autobuilder/buildsteps/SetDest.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/SetDest.py b/lib/python2.7/site-packages/autobuilder/buildsteps/SetDest.py
index cf901cb..8c1edc5 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/SetDest.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/SetDest.py
@@ -49,8 +49,11 @@ class SetDest(ShellCommand):
else:
buildername=self.getProperty("buildername")
self.workdir=os.path.join(self.slaveworkdir, buildername)
- if str(self.getProperty("custom_release_me_" + buildername)) == "True":
- rel_name = self.getProperty("custom_release_name_" + buildername)
+ if str(self.getProperty("custom_release_me")) == "True":
+ poky_name = self.getProperty("custom_poky_name")
+ poky_number = self.getProperty("custom_poky_number")
+ yocto_number = self.getProperty("custom_yocto_number")
+ rel_name = 'yocto-'+ yocto_number
if not rel_name or rel_name == "":
rel_name == self.getProperty(commit-description)
DEST=os.path.normpath(os.path.join(
--
1.8.1.2
More information about the yocto
mailing list