Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
94d4cd7c
Commit
94d4cd7c
authored
Oct 20, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-fix-groovy-parallelism-issue' into integration_2023_w42
parents
24ac96cd
33e5d7f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
38 deletions
+41
-38
ci-scripts/Jenkinsfile-GitLab-Container
ci-scripts/Jenkinsfile-GitLab-Container
+41
-38
No files found.
ci-scripts/Jenkinsfile-GitLab-Container
View file @
94d4cd7c
...
@@ -33,6 +33,7 @@ def gitCommitAuthorEmailAddr
...
@@ -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 {
...
@@ -132,13 +133,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-Ubuntu18-Image-Builder'
)
testBullet
0
=
finalizeSlaveJob
(
'RAN-Ubuntu18-Image-Builder'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
0
}
}
}
}
}
}
...
@@ -152,13 +153,13 @@ pipeline {
...
@@ -152,13 +153,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RHEL8-Cluster-Image-Builder'
)
testBullet
1
=
finalizeSlaveJob
(
'RAN-RHEL8-Cluster-Image-Builder'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
1
}
}
}
}
}
}
...
@@ -172,13 +173,13 @@ pipeline {
...
@@ -172,13 +173,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-cppcheck'
)
testBullet
2
=
finalizeSlaveJob
(
'RAN-cppcheck'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
2
}
}
}
}
}
}
...
@@ -218,13 +219,13 @@ pipeline {
...
@@ -218,13 +219,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-PhySim-Cluster'
)
testBullet
3
=
finalizeSlaveJob
(
'RAN-PhySim-Cluster'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
3
}
}
}
}
}
}
...
@@ -239,13 +240,13 @@ pipeline {
...
@@ -239,13 +240,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-4G'
)
testBullet
4
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-4G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
4
}
}
}
}
}
}
...
@@ -260,13 +261,13 @@ pipeline {
...
@@ -260,13 +261,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-5G'
)
testBullet
5
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-5G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
5
}
}
}
}
}
}
...
@@ -281,13 +282,13 @@ pipeline {
...
@@ -281,13 +282,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-4G'
)
testBullet
6
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-4G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
6
}
}
}
}
}
}
...
@@ -302,13 +303,13 @@ pipeline {
...
@@ -302,13 +303,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-5G'
)
testBullet
7
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-5G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
7
}
}
}
}
}
}
...
@@ -323,13 +324,13 @@ pipeline {
...
@@ -323,13 +324,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-FDD-LTEBOX-Container'
)
testBullet
8
=
finalizeSlaveJob
(
'RAN-LTE-FDD-LTEBOX-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
8
}
}
}
}
}
}
...
@@ -345,13 +346,13 @@ pipeline {
...
@@ -345,13 +346,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-FDD-OAIUE-OAICN4G-Container'
)
testBullet
9
=
finalizeSlaveJob
(
'RAN-LTE-FDD-OAIUE-OAICN4G-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
9
}
}
}
}
}
}
...
@@ -366,13 +367,13 @@ pipeline {
...
@@ -366,13 +367,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-TDD-LTEBOX-Container'
)
testBullet
10
=
finalizeSlaveJob
(
'RAN-LTE-TDD-LTEBOX-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
10
}
}
}
}
}
}
...
@@ -387,13 +388,13 @@ pipeline {
...
@@ -387,13 +388,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-NSA-B200-Module-LTEBOX-Container'
)
testBullet
11
=
finalizeSlaveJob
(
'RAN-NSA-B200-Module-LTEBOX-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
11
}
}
}
}
}
}
...
@@ -408,13 +409,13 @@ pipeline {
...
@@ -408,13 +409,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-B200-Module-SABOX-Container'
)
testBullet
12
=
finalizeSlaveJob
(
'RAN-SA-B200-Module-SABOX-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
12
}
}
}
}
}
}
...
@@ -429,13 +430,13 @@ pipeline {
...
@@ -429,13 +430,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-gNB-N300-Timing-Phytest-LDPC'
)
testBullet
13
=
finalizeSlaveJob
(
'RAN-gNB-N300-Timing-Phytest-LDPC'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
13
}
}
}
}
}
}
...
@@ -450,13 +451,13 @@ pipeline {
...
@@ -450,13 +451,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-TDD-2x2-Container'
)
testBullet
14
=
finalizeSlaveJob
(
'RAN-LTE-TDD-2x2-Container'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
14
}
}
}
}
}
}
...
@@ -471,13 +472,13 @@ pipeline {
...
@@ -471,13 +472,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-AW2S-CN5G'
)
testBullet
15
=
finalizeSlaveJob
(
'RAN-SA-AW2S-CN5G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
15
}
}
}
}
}
}
...
@@ -492,13 +493,13 @@ pipeline {
...
@@ -492,13 +493,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-Interop-F1'
)
testBullet
16
=
finalizeSlaveJob
(
'RAN-Interop-F1'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
16
}
}
}
}
}
}
...
@@ -513,13 +514,13 @@ pipeline {
...
@@ -513,13 +514,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'OAI-CN5G-COTS-UE-Test'
)
testBullet
17
=
finalizeSlaveJob
(
'OAI-CN5G-COTS-UE-Test'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
17
}
}
}
}
}
}
...
@@ -534,13 +535,13 @@ pipeline {
...
@@ -534,13 +535,13 @@ pipeline {
post
{
post
{
always
{
always
{
script
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-OAIUE-CN5G'
)
testBullet
18
=
finalizeSlaveJob
(
'RAN-SA-OAIUE-CN5G'
)
}
}
}
}
failure
{
failure
{
script
{
script
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
18
}
}
}
}
}
}
...
@@ -687,6 +688,7 @@ def triggerSlaveJobNoGitLab (jobName) {
...
@@ -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) {
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment