CI: split RAN-Physim-Cluster pipeline into 4G and 5G
This commit is contained in:
@@ -246,11 +246,11 @@ pipeline {
|
|||||||
stage ("Image Test Processes") {
|
stage ("Image Test Processes") {
|
||||||
when { expression {doBuild} }
|
when { expression {doBuild} }
|
||||||
parallel {
|
parallel {
|
||||||
stage ("PhySim-Cluster") {
|
stage ("PhySim-Cluster-5G") {
|
||||||
when { expression {do4Gtest || do5Gtest || do5GUeTest} }
|
when { expression {do5Gtest || do5GUeTest} }
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
triggerSlaveJob ('RAN-PhySim-Cluster', 'PhySim-Cluster')
|
triggerSlaveJob ('RAN-PhySim-Cluster-5G', 'PhySim-Cluster-5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
@@ -258,13 +258,36 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
// Using a unique variable name for each test stage to avoid overwriting on a global variable
|
// Using a unique variable name for each test stage to avoid overwriting on a global variable
|
||||||
// due to parallel-time concurrency
|
// due to parallel-time concurrency
|
||||||
physimStatus = finalizeSlaveJob('RAN-PhySim-Cluster')
|
physim5GStatus = finalizeSlaveJob('RAN-PhySim-Cluster-5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += physimStatus
|
failingStages += physim5GStatus
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ("PhySim-Cluster-4G") {
|
||||||
|
when { expression {do4Gtest} }
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
triggerSlaveJob ('RAN-PhySim-Cluster-4G', 'PhySim-Cluster-4G')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
script {
|
||||||
|
// Using a unique variable name for each test stage to avoid overwriting on a global variable
|
||||||
|
// due to parallel-time concurrency
|
||||||
|
physim4GStatus = finalizeSlaveJob('RAN-PhySim-Cluster-4G')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
failure {
|
||||||
|
script {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
failingStages += physim4GStatus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user