From 1c87098009079841cc54f534b18470ac951159ff Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 7 Apr 2020 09:41:42 +0200 Subject: 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 --- utils/agljobtemplate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/agljobtemplate.py') diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index deb5ff8..b3763dd 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 -- cgit 1.2.3-korg