Skip to content
Snippets Groups Projects
Commit 0535303a authored by Emanuele Aina's avatar Emanuele Aina
Browse files

Jenkinsfile: Drop obsoleted function parameter


The check whether LAVA josb should be submitted now happens outside
of submitTests().

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 219f2666
No related branches found
No related tags found
1 merge request!66Add metadata to detect partial builds
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -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") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment