Commit 7be7d21f authored by Raphael Defosseux's avatar Raphael Defosseux

chore(ci): adding ngap-tester trigger

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent 7280cf18
...@@ -392,6 +392,37 @@ pipeline { ...@@ -392,6 +392,37 @@ pipeline {
} }
} }
} }
// Home-made RAN emulator
stage ('NGAP-Tester') {
steps {
script {
gitlabCommitStatus(name: "NGAP-Tester") {
localStatus = build job: 'OAI-CN5G-NGAP-Tester',
parameters: [
string(name: 'SMF_TAG', value: String.valueOf(smf_tag)),
string(name: 'SMF_BRANCH', value: String.valueOf(smf_branch))
], propagate: false
localResult = localStatus.getResult()
if (localStatus.resultIsBetterOrEqualTo('SUCCESS')) {
echo "NGAP-Tester is OK"
} else {
echo "NGAP-Tester is is KO"
sh "ci-scripts/fail.sh"
}
}
}
}
post {
always {
script {
copyArtifacts(projectName: 'OAI-CN5G-NGAP-Tester',
filter: '*_results_oai_cn5g*.html',
selector: lastCompleted())
}
}
}
}
} }
} }
// We are only publishing the Ubuntu image to Docker-Hub // We are only publishing the Ubuntu image to Docker-Hub
......
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