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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
littleBu
OpenXG-RAN
Commits
94d4cd7c
Commit
94d4cd7c
authored
1 year ago
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
Branches unavailable
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
2024.w41
2024.w40
2024.w39
2024.w38
2024.w36
2024.w35
2024.w34
2024.w33
2024.w32
2024.w31
2024.w30
2024.w29
2024.w28
2024.w27
2024.w26
2024.w25
2024.w24
2024.w23
2024.w22
2024.w21
2024.w18
2024.w17
2024.w16
2024.w15
2024.w14
2024.w13
2024.w12
2024.w11
2024.w10
2024.w09
2024.w08
2024.w06
2024.w05
2024.w04
2024.w03
2024.w02
2024.w01
2023.w51
2023.w50
2023.w49
2023.w48
2023.w47
2023.w45
2023.w43
2023.w42
v2.2.0
v2.1.0
ARC_1.3
Changes
1
Show 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:
...
...
This diff is collapsed.
Click to expand it.
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