mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
builders: Add deploy_artefacts selection/property
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5b91d39dad
commit
7e6b5d4119
|
@ -32,6 +32,7 @@ def get_publish_dest(props):
|
||||||
as a property for use by other workers.
|
as a property for use by other workers.
|
||||||
"""
|
"""
|
||||||
dest = ""
|
dest = ""
|
||||||
|
deploy = props.getProperty("deploy_artifacts", "False")
|
||||||
if props.getProperty("deploy_artifacts", "False") != "False":
|
if props.getProperty("deploy_artifacts", "False") != "False":
|
||||||
rel_name = ""
|
rel_name = ""
|
||||||
dest = props.getProperty("publish_destination", "")
|
dest = props.getProperty("publish_destination", "")
|
||||||
|
@ -100,6 +101,7 @@ def ensure_props_set(props):
|
||||||
"sharedrepolocation": props.getProperty("sharedrepolocation", "None"),
|
"sharedrepolocation": props.getProperty("sharedrepolocation", "None"),
|
||||||
"is_release": props.getProperty("is_release", "None"),
|
"is_release": props.getProperty("is_release", "None"),
|
||||||
"buildappsrcrev": props.getProperty("buildappsrcrev", "None"),
|
"buildappsrcrev": props.getProperty("buildappsrcrev", "None"),
|
||||||
|
"deploy_artifacts": props.getProperty("deploy_artifacts", "False"),
|
||||||
"publish_destination": props.getProperty("publish_destination", "None")
|
"publish_destination": props.getProperty("publish_destination", "None")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user