From 0535303a44868f7662f9ef9339e8c4954decaad9 Mon Sep 17 00:00:00 2001 From: Emanuele Aina <emanuele.aina@collabora.com> Date: Thu, 22 Nov 2018 00:07:27 +0100 Subject: [PATCH] Jenkinsfile: Drop obsoleted function parameter The check whether LAVA josb should be submitted now happens outside of submitTests(). Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> --- Jenkinsfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7319d15..6d19d1f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -185,13 +185,7 @@ def pushOstreeRepo(architecture, type, board) { rm -rf ${repo}""") } -def runTestsJobs(image_name, profile_name, version, submit = true) { - - if (!submit) { - println "Skipping submitting tests jobs for ${profile_name} ${version}" - return - } - +def runTestsJobs(image_name, profile_name, version) { dir ("apertis-tests") { git(url: test_repo_url, poll: false, @@ -222,7 +216,7 @@ def submitTests(architecture, type, board, ostree = false) { } def profile_name = "${name}-${type}-${architecture}-${board}" - runTestsJobs (image_name, profile_name, env.PIPELINE_VERSION, true) + runTestsJobs (image_name, profile_name, env.PIPELINE_VERSION) } def buildOStree(architecture, type, board, debosarguments = "", repo = "repo") { -- GitLab