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
50d9c1f2
Commit
50d9c1f2
authored
May 13, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ci-enable-amarisoft' into 'develop'
Ci enable amarisoft See merge request oai/openairinterface5g!1554
parents
f3241cd4
7c5a82bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
ci-scripts/Jenkinsfile-trig-nsa
ci-scripts/Jenkinsfile-trig-nsa
+15
-0
ci-scripts/ran_dashboard/Hdashboard.py
ci-scripts/ran_dashboard/Hdashboard.py
+3
-3
No files found.
ci-scripts/Jenkinsfile-trig-nsa
View file @
50d9c1f2
...
...
@@ -113,6 +113,21 @@ pipeline {
GitPostArgs
+=
jobName
+
' '
+
build_url
+
' '
+
build_id
+
' '
+
jobResult
+
' '
echo
GitPostArgs
//calling SA-AmariS
jobName
=
"RAN-SA-AmariS-CN5G"
jobStatus
=
build
job:
jobName
,
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
))
]
jobResult
=
jobStatus
.
getResult
()
build_url
=
jobStatus
.
getAbsoluteUrl
()
build_id
=
jobStatus
.
getNumber
().
toString
()
GitPostArgs
+=
jobName
+
' '
+
build_url
+
' '
+
build_id
+
' '
+
jobResult
+
' '
echo
GitPostArgs
//calling OAIUE N310-X300
jobName
=
"RAN-SA-OAIUE-N310-X300-CN5G"
jobStatus
=
build
job:
jobName
,
wait
:
true
,
propagate
:
false
,
parameters:
[
...
...
ci-scripts/ran_dashboard/Hdashboard.py
View file @
50d9c1f2
...
...
@@ -528,15 +528,15 @@ class Dashboard:
editable_mr
=
project
.
mergerequests
.
get
(
int
(
mr
))
mr_notes
=
editable_mr
.
notes
.
list
(
all
=
True
)
body
=
'<a href="https://oaitestdashboard.s3.eu-west-1.amazonaws.com/MR'
+
mr
+
'/index.html">Consolidated Test Results</a><br>'
+
\
'Tested CommitID: '
+
commit
+
'<br>
'
body
=
'[Consolidated Test Results](https://oaitestdashboard.s3.eu-west-1.amazonaws.com/MR'
+
mr
+
'/index.html)
\\\n
'
body
+=
'Tested CommitID: '
+
commit
+
'
\\\n
'
for
i
in
range
(
0
,
n_tests
):
jobname
=
args
[
4
*
i
]
buildurl
=
args
[
4
*
i
+
1
]
buildid
=
args
[
4
*
i
+
2
]
status
=
args
[
4
*
i
+
3
]
body
+=
jobname
+
'
, status is <b>'
+
status
+
'</b>, (<a href="'
+
buildurl
+
'">'
+
buildid
+
'</a>)<br>
'
body
+=
jobname
+
'
: **'
+
status
+
'** (['
+
buildid
+
']('
+
buildurl
+
'))
\\\n
'
#create new note
mr_note
=
editable_mr
.
notes
.
create
({
...
...
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