Merge remote-tracking branch 'origin/ci-fix-groovy-parallelism-issue' into integration_2023_w42
This commit is contained in:
@@ -33,6 +33,7 @@ def gitCommitAuthorEmailAddr
|
|||||||
|
|
||||||
// list of failing stages
|
// list of failing stages
|
||||||
def failingStages = ""
|
def failingStages = ""
|
||||||
|
def lockForMessage = 'Parent-Lock'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
@@ -132,13 +133,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-Ubuntu18-Image-Builder')
|
testBullet0 = finalizeSlaveJob('RAN-Ubuntu18-Image-Builder')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -152,13 +153,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-RHEL8-Cluster-Image-Builder')
|
testBullet1 = finalizeSlaveJob('RAN-RHEL8-Cluster-Image-Builder')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -172,13 +173,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-cppcheck')
|
testBullet2 = finalizeSlaveJob('RAN-cppcheck')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -218,13 +219,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-PhySim-Cluster')
|
testBullet3 = finalizeSlaveJob('RAN-PhySim-Cluster')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -239,13 +240,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-RF-Sim-Test-4G')
|
testBullet4 = finalizeSlaveJob('RAN-RF-Sim-Test-4G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -260,13 +261,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-RF-Sim-Test-5G')
|
testBullet5 = finalizeSlaveJob('RAN-RF-Sim-Test-5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -281,13 +282,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-L2-Sim-Test-4G')
|
testBullet6 = finalizeSlaveJob('RAN-L2-Sim-Test-4G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -302,13 +303,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-L2-Sim-Test-5G')
|
testBullet7 = finalizeSlaveJob('RAN-L2-Sim-Test-5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -323,13 +324,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-LTE-FDD-LTEBOX-Container')
|
testBullet8 = finalizeSlaveJob('RAN-LTE-FDD-LTEBOX-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -345,13 +346,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-LTE-FDD-OAIUE-OAICN4G-Container')
|
testBullet9 = finalizeSlaveJob('RAN-LTE-FDD-OAIUE-OAICN4G-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -366,13 +367,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-LTE-TDD-LTEBOX-Container')
|
testBullet10 = finalizeSlaveJob('RAN-LTE-TDD-LTEBOX-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -387,13 +388,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-NSA-B200-Module-LTEBOX-Container')
|
testBullet11 = finalizeSlaveJob('RAN-NSA-B200-Module-LTEBOX-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet11
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -408,13 +409,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-SA-B200-Module-SABOX-Container')
|
testBullet12 = finalizeSlaveJob('RAN-SA-B200-Module-SABOX-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -429,13 +430,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-gNB-N300-Timing-Phytest-LDPC')
|
testBullet13 = finalizeSlaveJob('RAN-gNB-N300-Timing-Phytest-LDPC')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet13
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -450,13 +451,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-LTE-TDD-2x2-Container')
|
testBullet14 = finalizeSlaveJob('RAN-LTE-TDD-2x2-Container')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet14
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -471,13 +472,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-SA-AW2S-CN5G')
|
testBullet15 = finalizeSlaveJob('RAN-SA-AW2S-CN5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -492,13 +493,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-Interop-F1')
|
testBullet16 = finalizeSlaveJob('RAN-Interop-F1')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet16
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -513,13 +514,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('OAI-CN5G-COTS-UE-Test')
|
testBullet17 = finalizeSlaveJob('OAI-CN5G-COTS-UE-Test')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet17
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -534,13 +535,13 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
testBullet = finalizeSlaveJob('RAN-SA-OAIUE-CN5G')
|
testBullet18 = finalizeSlaveJob('RAN-SA-OAIUE-CN5G')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
currentBuild.result = 'FAILURE'
|
currentBuild.result = 'FAILURE'
|
||||||
failingStages += testBullet
|
failingStages += testBullet18
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -687,6 +688,7 @@ def triggerSlaveJobNoGitLab (jobName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def finalizeSlaveJob(jobName) {
|
def finalizeSlaveJob(jobName) {
|
||||||
|
lock (lockForMessage) {
|
||||||
// In case of any non-success, we are retrieving the HTML report of the last completed
|
// In case of any non-success, we are retrieving the HTML report of the last completed
|
||||||
// slave job. The only drop-back is that we may retrieve the HTML report of a previous build
|
// slave job. The only drop-back is that we may retrieve the HTML report of a previous build
|
||||||
if (jobName == 'OAI-CN5G-COTS-UE-Test') {
|
if (jobName == 'OAI-CN5G-COTS-UE-Test') {
|
||||||
@@ -709,6 +711,7 @@ def finalizeSlaveJob(jobName) {
|
|||||||
}
|
}
|
||||||
artifactUrl = "\n * [${jobName}](${artifactUrl})"
|
artifactUrl = "\n * [${jobName}](${artifactUrl})"
|
||||||
return artifactUrl
|
return artifactUrl
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Abstraction function to send social media messages:
|
// Abstraction function to send social media messages:
|
||||||
|
|||||||
Reference in New Issue
Block a user