Commit 2b76d570 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: adding fed pipeline trigger and recover of artifacts

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent a6eb9868
......@@ -233,6 +233,34 @@ pipeline {
}
}
}
stage ('Testing in CN-5G-FED environment') {
steps {
script {
localStatus = build job: 'CI-OpenAir-CN5G-FED',
parameters: [
string(name: 'AMF_TAG', value: String.valueOf(amf_tag)),
string(name: 'AMF_BRANCH', value: String.valueOf(amf_branch))
], propagate: false
localResult = localStatus.getResult()
if (localStatus.resultIsBetterOrEqualTo('SUCCESS')) {
echo "Federation Test Job is OK"
} else {
echo "Federation Test Job is KO"
sh "ci-scripts/fail.sh"
}
}
}
post {
always {
script {
copyArtifacts(projectName: 'CI-OpenAir-CN5G-FED',
filter: '*_results_oai_cn5g.html',
selector: lastCompleted())
}
}
}
}
}
post {
success {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment