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
spbro
OpenXG-RAN
Commits
33e5d7f6
Commit
33e5d7f6
authored
Oct 16, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): improve for parallelism
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
bba14188
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 @
33e5d7f6
...
...
@@ -33,6 +33,7 @@ def gitCommitAuthorEmailAddr
// list of failing stages
def
failingStages
=
""
def
lockForMessage
=
'Parent-Lock'
pipeline
{
agent
{
...
...
@@ -133,13 +134,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-Ubuntu18-Image-Builder'
)
testBullet
0
=
finalizeSlaveJob
(
'RAN-Ubuntu18-Image-Builder'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
0
}
}
}
...
...
@@ -153,13 +154,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RHEL8-Cluster-Image-Builder'
)
testBullet
1
=
finalizeSlaveJob
(
'RAN-RHEL8-Cluster-Image-Builder'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
1
}
}
}
...
...
@@ -173,13 +174,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-cppcheck'
)
testBullet
2
=
finalizeSlaveJob
(
'RAN-cppcheck'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
2
}
}
}
...
...
@@ -199,13 +200,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-PhySim-Cluster'
)
testBullet
3
=
finalizeSlaveJob
(
'RAN-PhySim-Cluster'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
3
}
}
}
...
...
@@ -220,13 +221,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-4G'
)
testBullet
4
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-4G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
4
}
}
}
...
...
@@ -241,13 +242,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-5G'
)
testBullet
5
=
finalizeSlaveJob
(
'RAN-RF-Sim-Test-5G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
5
}
}
}
...
...
@@ -262,13 +263,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-4G'
)
testBullet
6
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-4G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
6
}
}
}
...
...
@@ -283,13 +284,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-5G'
)
testBullet
7
=
finalizeSlaveJob
(
'RAN-L2-Sim-Test-5G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
7
}
}
}
...
...
@@ -304,13 +305,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-FDD-LTEBOX-Container'
)
testBullet
8
=
finalizeSlaveJob
(
'RAN-LTE-FDD-LTEBOX-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
8
}
}
}
...
...
@@ -326,13 +327,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-FDD-OAIUE-OAICN4G-Container'
)
testBullet
9
=
finalizeSlaveJob
(
'RAN-LTE-FDD-OAIUE-OAICN4G-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
9
}
}
}
...
...
@@ -347,13 +348,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-TDD-LTEBOX-Container'
)
testBullet
10
=
finalizeSlaveJob
(
'RAN-LTE-TDD-LTEBOX-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
10
}
}
}
...
...
@@ -368,13 +369,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-NSA-B200-Module-LTEBOX-Container'
)
testBullet
11
=
finalizeSlaveJob
(
'RAN-NSA-B200-Module-LTEBOX-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
11
}
}
}
...
...
@@ -389,13 +390,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-B200-Module-SABOX-Container'
)
testBullet
12
=
finalizeSlaveJob
(
'RAN-SA-B200-Module-SABOX-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
12
}
}
}
...
...
@@ -410,13 +411,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-gNB-N300-Timing-Phytest-LDPC'
)
testBullet
13
=
finalizeSlaveJob
(
'RAN-gNB-N300-Timing-Phytest-LDPC'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
13
}
}
}
...
...
@@ -431,13 +432,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-LTE-TDD-2x2-Container'
)
testBullet
14
=
finalizeSlaveJob
(
'RAN-LTE-TDD-2x2-Container'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
14
}
}
}
...
...
@@ -452,13 +453,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-AW2S-CN5G'
)
testBullet
15
=
finalizeSlaveJob
(
'RAN-SA-AW2S-CN5G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
15
}
}
}
...
...
@@ -473,13 +474,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-Interop-F1'
)
testBullet
16
=
finalizeSlaveJob
(
'RAN-Interop-F1'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
16
}
}
}
...
...
@@ -494,13 +495,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'OAI-CN5G-COTS-UE-Test'
)
testBullet
17
=
finalizeSlaveJob
(
'OAI-CN5G-COTS-UE-Test'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
17
}
}
}
...
...
@@ -515,13 +516,13 @@ pipeline {
post
{
always
{
script
{
testBullet
=
finalizeSlaveJob
(
'RAN-SA-OAIUE-CN5G'
)
testBullet
18
=
finalizeSlaveJob
(
'RAN-SA-OAIUE-CN5G'
)
}
}
failure
{
script
{
currentBuild
.
result
=
'FAILURE'
failingStages
+=
testBullet
failingStages
+=
testBullet
18
}
}
}
...
...
@@ -668,6 +669,7 @@ def triggerSlaveJobNoGitLab (jobName) {
}
def
finalizeSlaveJob
(
jobName
)
{
lock
(
lockForMessage
)
{
// 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
if
(
jobName
==
'OAI-CN5G-COTS-UE-Test'
)
{
...
...
@@ -690,6 +692,7 @@ def finalizeSlaveJob(jobName) {
}
artifactUrl
=
"\n * [${jobName}](${artifactUrl})"
return
artifactUrl
}
}
// 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