CI: Add VRT-Sim test pipeline to parent pipeline
This commit is contained in:
@@ -380,6 +380,29 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ("VRT-Sim-Test-5G") {
|
||||||
|
when { expression {do5Gtest || do5GUeTest} }
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
triggerSlaveJob ('RAN-VRT-Sim-Test-5G', 'VRT-Sim-Test-5G')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
script {
|
||||||
|
// Using a unique variable name for each test stage to avoid overwriting on a global variable
|
||||||
|
// due to parallel-time concurrency
|
||||||
|
vrtSim5GStatus = finalizeSlaveJob('RAN-VRT-Sim-Test-5G')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
failure {
|
||||||
|
script {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
failingStages += vrtSim5GStatus
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ("RF-Sim-Test-5G") {
|
stage ("RF-Sim-Test-5G") {
|
||||||
when { expression {do5Gtest || do5GUeTest} }
|
when { expression {do5Gtest || do5GUeTest} }
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user