aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-04-07 09:41:42 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-04-07 08:35:58 +0000
commit06821fe1b3cfbe34ed4a13d9ed79a4a405e27a44 (patch)
treed751ebc5574e67403ce98a0ced31c858e87664aa
parentef06d8d706e734f8a587ed8118ffdcbfe80f7a30 (diff)
Add initial machine_branch declaration
CI fail with: UnboundLocalError: local variable 'machine_branch' referenced before assignment (See https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIBT-qemuarm/568/console) This patch add an initial declaration for it Change-Id: I7fa7b836e1546f65cf6678c8527698208fc5581a Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--utils/agljobtemplate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index c291a6a..3d3949b 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -182,6 +182,7 @@ class Agljobtemplate(object):
job['urlbase'] = url
job['test_templates'] = test_templates
+ machine_branch = None
if vcs_commit is not None:
job['vcs_commit'] = vcs_commit