Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
5c9331d2
Commit
5c9331d2
authored
Jan 21, 2022
by
Remi Hardy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ci_fix_gitpost' into 'develop'
[CI] fix gitpost issue See merge request oai/openairinterface5g!1408
parents
3903eba7
273d1754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
29 deletions
+20
-29
ci-scripts/Jenkinsfile-trig-nsa
ci-scripts/Jenkinsfile-trig-nsa
+20
-29
No files found.
ci-scripts/Jenkinsfile-trig-nsa
View file @
5c9331d2
...
...
@@ -28,7 +28,6 @@ def pythonExecutor = params.pythonExecutor
def
TARGET_BRANCH
=
"develop"
def
ALLOW_MERGE
=
true
def
GitPostArgs
=
''
def
DataBaseHost
=
params
.
DataBaseHost
def
jobStatus
pipeline
{
...
...
@@ -72,7 +71,7 @@ pipeline {
//calling NSA B200
jobName
=
"RAN-NSA-B200-Module-LTEBOX"
jobStatus
=
build
job:
jobName
,
wait
:
true
,
propagate
:
false
,
parameters:
[
string
(
name:
'eNB_MR'
,
value:
String
.
valueOf
(
MR
)),
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
)),
...
...
@@ -116,21 +115,21 @@ pipeline {
//calling OAIUE B200
//
build job: "RAN-SA-OAIUE-B200-CN5G", wait : true, 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_mergeRequest', value: Boolean.valueOf(ALLOW_MERGE))
//
]
build
job:
"RAN-SA-OAIUE-B200-CN5G"
,
wait
:
true
,
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_mergeRequest'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling OAIUE N310
//
build job: "RAN-SA-OAIUE-N310-CN5G", wait : true, 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_mergeRequest', value: Boolean.valueOf(ALLOW_MERGE))
//
]
build
job:
"RAN-SA-OAIUE-N310-CN5G"
,
wait
:
true
,
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_mergeRequest'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling OAIUE N310-X300
jobName
=
"RAN-SA-OAIUE-N310-X300-CN5G"
...
...
@@ -146,23 +145,15 @@ pipeline {
build_id
=
jobStatus
.
getNumber
().
toString
()
GitPostArgs
+=
jobName
+
' '
+
build_url
+
' '
+
build_id
+
' '
+
jobResult
+
' '
echo
GitPostArgs
//git report the test results in 1 block, at the end of the test sequence of one MR
dir
(
'ci-scripts/ran_dashboard'
)
{
sh
"python3 Hdashboard.py gitpost ${GitPostArgs}"
}
}
}
}
}
stage
(
'Git Post'
)
{
when
{
expression
{
params
.
DataBaseHost
!=
"none"
}
}
agent
{
label
DataBaseHost
}
steps
{
script
{
dir
(
'ci-scripts/ran_dashboard'
)
{
sh
"python3 Hdashboard.py gitpost ${GitPostArgs}"
}
}
}
}
}
}
...
...
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