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
常顺宇
OpenXG-RAN
Commits
e419ae05
Commit
e419ae05
authored
Mar 19, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding benetel to overnight trig
parent
677172f2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
318 additions
and
9 deletions
+318
-9
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
+293
-0
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
+9
-5
ci-scripts/Jenkinsfile-trig-nsa
ci-scripts/Jenkinsfile-trig-nsa
+14
-4
ci-scripts/xml_files/fr1_multi_node_build.xml
ci-scripts/xml_files/fr1_multi_node_build.xml
+2
-0
No files found.
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
0 → 100644
View file @
e419ae05
This diff is collapsed.
Click to expand it.
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
View file @
e419ae05
...
...
@@ -34,8 +34,9 @@ def buildStageStatus = true
def
testStageName
=
params
.
pipelineTestStageName
// Name of the phone resource
def
ciSmartPhoneResource1
=
params
.
smartphonesResource1
def
ciSmartPhoneResource2
=
params
.
smartphonesResource2
def
ciSmartPhonesResource1
=
params
.
SmartPhonesResource1
def
ciSmartPhonesResource2
=
params
.
SmartPhonesResource2
def
ciSmartPhonesResource3
=
params
.
SmartPhonesResource3
// Global Parameters. Normally they should be populated when the master job
// triggers the slave job with parameters
...
...
@@ -52,7 +53,7 @@ pipeline {
options
{
disableConcurrentBuilds
()
ansiColor
(
'xterm'
)
lock
(
extra:
[[
resource:
ciSmartPhone
Resource2
]],
resource:
ciSmartPhone
Resource1
)
lock
(
extra:
[[
resource:
ciSmartPhone
sResource2
],[
resource:
ciSmartPhonesResource3
]],
resource:
ciSmartPhones
Resource1
)
}
stages
{
stage
(
"Build Init"
)
{
...
...
@@ -78,10 +79,13 @@ pipeline {
testStageName
=
'Template Test Stage'
}
if
(
params
.
smartp
honesResource1
==
null
)
{
if
(
params
.
SmartP
honesResource1
==
null
)
{
allParametersPresent
=
false
}
if
(
params
.
smartphonesResource2
==
null
)
{
if
(
params
.
SmartPhonesResource2
==
null
)
{
allParametersPresent
=
false
}
if
(
params
.
SmartPhonesResource3
==
null
)
{
allParametersPresent
=
false
}
// 1st eNB parameters
...
...
ci-scripts/Jenkinsfile-trig-nsa
View file @
e419ae05
...
...
@@ -33,19 +33,21 @@ pipeline {
label
pythonExecutor
}
stages
{
stage
(
"
NSA Test Loop
"
)
{
stage
(
"
Launcher
"
)
{
steps
{
script
{
script
{
//retrieve MR that are opened nd with tag READY_TO_BE_MERGED
MR_LIST
=
sh
returnStdout:
true
,
script:
'curl --silent "https://gitlab.eurecom.fr/api/v4/projects/oai%2Fopenairinterface5g/merge_requests?state=opened&per_page=100&labels=READY_TO_BE_MERGED" | jq ".[].iid" || true '
echo
"List of selected MR:\n${MR_LIST}"
def
MR_ARRAY
=
MR_LIST
.
split
(
'\n'
)
def
MR_ARRAY
=
MR_LIST
.
split
(
'\n'
)
//for every selected MR, retrieve the branch name and the latest commit
for
(
MR
in
MR_ARRAY
)
{
SRC_BRANCH
=
sh
returnStdout:
true
,
script:
"""curl --silent "https://gitlab.eurecom.fr/api/v4/projects/oai%2Fopenairinterface5g/merge_requests/${MR}" | jq ".source_branch" || true """
SRC_BRANCH
=
SRC_BRANCH
.
trim
()
COMMIT_ID
=
sh
returnStdout:
true
,
script:
"""curl --silent "https://gitlab.eurecom.fr/api/v4/projects/oai%2Fopenairinterface5g/merge_requests/${MR}" | jq ".sha" || true """
COMMIT_ID
=
COMMIT_ID
.
trim
()
echo
"Testing NSA on : ${MR} ${SRC_BRANCH} ${COMMIT_ID}"
//calling sub job
//calling
NSA
sub job
build
job:
"RAN-CI-NSA-B210"
,
wait
:
false
,
propagate
:
false
,
parameters:
[
string
(
name:
'eNB_MR'
,
value:
String
.
valueOf
(
MR
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
...
...
@@ -53,6 +55,14 @@ pipeline {
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_AllowMergeRequestProcess'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling Benetel sub job
build
job:
"RAN-CI-BENETEL"
,
wait
:
false
,
propagate
:
false
,
parameters:
[
string
(
name:
'eNB_MR'
,
value:
String
.
valueOf
(
MR
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
string
(
name:
'eNB_CommitID'
,
value:
String
.
valueOf
(
COMMIT_ID
)),
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_AllowMergeRequestProcess'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
}
}
}
...
...
ci-scripts/xml_files/fr1_multi_node_build.xml
View file @
e419ae05
...
...
@@ -37,6 +37,7 @@
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
</testCase>
<testCase
id=
"000004"
>
...
...
@@ -53,6 +54,7 @@
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
<forced_workspace_cleanup>
True
</forced_workspace_cleanup>
</testCase>
<testCase
id=
"000003"
>
...
...
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