Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-nrf
Commits
c1e30255
Commit
c1e30255
authored
Feb 09, 2021
by
Raphael Defosseux
Committed by
Sagar Arora
Mar 10, 2021
Browse files
CI: fix in the build reporting
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
4df0a6cb
Changes
3
Show whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
c1e30255
archives
*.html
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
c1e30255
...
...
@@ -136,7 +136,7 @@ pipeline {
echo
"Maybe a previous build went wrong"
}
}
myShCmd
(
'docker build --target oai-nrf --tag oai-nrf:'
+
nrf_tag
+
' --file docker/Dockerfile.ubuntu.18.04 --build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" . > archives/nrf_docker_image_build.log 2>&1'
,
new_host_flag
,
new_host_user
,
new_host
)
myShCmd
(
'docker build
--no-cache
--target oai-nrf --tag oai-nrf:'
+
nrf_tag
+
' --file docker/Dockerfile.ubuntu.18.04 --build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" . > archives/nrf_docker_image_build.log 2>&1'
,
new_host_flag
,
new_host_user
,
new_host
)
myShCmd
(
'docker image ls >> archives/nrf_docker_image_build.log'
,
new_host_flag
,
new_host_user
,
new_host
)
}
}
...
...
ci-scripts/generateHtmlReport.py
View file @
c1e30255
...
...
@@ -684,7 +684,7 @@ class HtmlReport():
cwd
=
os
.
getcwd
()
if
os
.
path
.
isfile
(
cwd
+
'/archives/'
+
logFileName
):
section_start_pattern
=
'FROM ubuntu:bionic as oai-nrf$'
section_end_pattern
=
'
WORKDIR /openair-nrf/etc
'
section_end_pattern
=
'
COPY --from=oai-nrf-builder /openair-nrf/docker/entrypoint.sh entrypoint.sh
'
section_status
=
False
status
=
False
with
open
(
cwd
+
'/archives/'
+
logFileName
,
'r'
)
as
logfile
:
...
...
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