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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
fadd3d00
Commit
fadd3d00
authored
Jun 12, 2024
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add unit test build log to artifacts
parent
44dc8f8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+2
-0
No files found.
ci-scripts/cls_containerize.py
View file @
fadd3d00
...
@@ -680,6 +680,8 @@ class Containerize():
...
@@ -680,6 +680,8 @@ class Containerize():
dockerfile
=
"ci-scripts/docker/Dockerfile.unittest.ubuntu20"
dockerfile
=
"ci-scripts/docker/Dockerfile.unittest.ubuntu20"
ret
=
cmd
.
run
(
f'docker build --progress=plain --tag ran-unittests:
{
baseTag
}
--file
{
dockerfile
}
. &>
{
lSourcePath
}
/cmake_targets/log/unittest-build.log'
)
ret
=
cmd
.
run
(
f'docker build --progress=plain --tag ran-unittests:
{
baseTag
}
--file
{
dockerfile
}
. &>
{
lSourcePath
}
/cmake_targets/log/unittest-build.log'
)
if
ret
.
returncode
!=
0
:
if
ret
.
returncode
!=
0
:
build_log_name
=
f'build_log_
{
self
.
testCase_id
}
'
CopyLogsToExecutor
(
cmd
,
lSourcePath
,
build_log_name
)
logging
.
error
(
f'Cannot build unit tests'
)
logging
.
error
(
f'Cannot build unit tests'
)
HTML
.
CreateHtmlTestRow
(
"Unit test build failed"
,
'KO'
,
[
dockerfile
])
HTML
.
CreateHtmlTestRow
(
"Unit test build failed"
,
'KO'
,
[
dockerfile
])
HTML
.
CreateHtmlTabFooter
(
False
)
HTML
.
CreateHtmlTabFooter
(
False
)
...
...
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