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

feat(ci): triggering the tutorial check sub-pipeline

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent d698c093
......@@ -256,6 +256,40 @@ pipeline {
}
}
}
stage('Testing whole 5g Core Network Functions') {
parallel {
stage ('Testing the tutorial') {
steps {
script {
gitlabCommitStatus(name: "Test tutorials") {
localStatus = build job: OAI-CN5G-Tutorials-Check,
parameters: [
string(name: 'UPF_VPP_TAG', value: String.valueOf(upf_tag)),
string(name: 'UPF_VPP_BRANCH', value: String.valueOf(upf_branch))
], propagate: false
localResult = localStatus.getResult()
if (localStatus.resultIsBetterOrEqualTo('SUCCESS')) {
echo "Tutorials Test Job is OK"
} else {
echo "Tutorials Test Job is KO"
sh "ci-scripts/fail.sh"
}
}
}
}
post {
always {
script {
copyArtifacts(projectName: OAI-CN5G-Tutorials-Check,
filter: '*_results_oai_cn5g*.html',
selector: lastCompleted())
}
}
}
}
}
}
// For the moment it is Docker-Hub, but we might have a new one internally.
stage ('Pushing Image to Official Registry') {
steps {
......
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