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

Jenkinsfile: Save LAVA job ids in the meta/ folder


Store the submitted LAVA job ids in the output metadata for later processing.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent b9d8ccd9
No related branches found
No related tags found
1 merge request!90Jenkinsfile: Save LAVA job ids in the meta/ folder
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -203,6 +203,7 @@ def submitTests(architecture, type, board, ostree = false) {
withCredentials([ file(credentialsId: test_lava_credentials, variable: 'lqaconfig'),
string(credentialsId: 'lava-phab-bridge-token', variable: 'token')]) {
sh(script: """
mkdir -p ${env.PIPELINE_VERSION}/meta/
/usr/bin/lava-submit -c ${lqaconfig} \
-g apertis-tests/templates/profiles.yaml \
--profile ${profile_name} \
......@@ -210,7 +211,9 @@ def submitTests(architecture, type, board, ostree = false) {
--callback-url HACK-TO-TEMPORARILY-DISABLE-BUG-REPORTING-https://lavaphabbridge.apertis.org/ \
-t release:${release} \
-t image_date:${version} \
-t image_name:${image_name}""")
-t image_name:${image_name} 2>&1 | \
tee ${env.PIPELINE_VERSION}/meta/lava-jobs-${name}-${architecture}-${type}-${board}
""")
}
}
......@@ -503,6 +506,7 @@ def buildImages(architecture, type, boards, debosarguments = "", image = true, s
submitTests(architecture, type, board, true)
}
}
uploadDirectory (env.PIPELINE_VERSION, "daily/${release}")
} else {
println "Skipping submitting tests jobs for ${architecture} ${type}"
}
......
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