Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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
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-UDR
Commits
10720bbe
Commit
10720bbe
authored
Sep 01, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): display git branch/hash in run log
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
760c4783
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
217 additions
and
207 deletions
+217
-207
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+8
-0
src/udr_app/udr_config.cpp
src/udr_app/udr_config.cpp
+209
-207
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
10720bbe
...
...
@@ -502,6 +502,10 @@ pipeline {
sh
"sed -i -e 's#TEMPLATE_MERGE_REQUEST_LINK#${gitlabMergeRequestLink}#g' *_results_oai_cn5g.html"
sh
"sed -i -e 's#TEMPLATE_MERGE_REQUEST_TEMPLATE#${env.gitlabMergeRequestTitle}#' *_results_oai_cn5g.html"
}
if
(
fileExists
(
'test_results_oai_cn5g_oc.html'
))
{
sh
"sed -i -e 's#TEMPLATE_MERGE_REQUEST_LINK#${gitlabMergeRequestLink}#g' *_results_oai_cn5g_oc.html"
sh
"sed -i -e 's#TEMPLATE_MERGE_REQUEST_TEMPLATE#${env.gitlabMergeRequestTitle}#' *_results_oai_cn5g_oc.html"
}
}
else
{
sh
"python3 ci-scripts/generateHtmlReport.py --job_name=${JOB_NAME} --job_id=${BUILD_ID} --job_url=${BUILD_URL} --git_url=${GIT_URL} --git_src_branch=${GIT_BRANCH} --git_src_commit=${GIT_COMMIT}"
}
...
...
@@ -513,6 +517,10 @@ pipeline {
sh
"sed -i -e 's#TEMPLATE_TIME#${JOB_TIMESTAMP}#' *_results_oai_cn5g.html"
archiveArtifacts
artifacts:
'*_results_oai_cn5g.html'
}
if
(
fileExists
(
'test_results_oai_cn5g_oc.html'
))
{
sh
"sed -i -e 's#TEMPLATE_TIME#${JOB_TIMESTAMP}#' *_results_oai_cn5g_oc.html"
archiveArtifacts
artifacts:
'*_results_oai_cn5g_oc.html'
}
// Sending email to commiter
if
(
params
.
sendToCommitterEmail
!=
null
)
{
...
...
src/udr_app/udr_config.cpp
View file @
10720bbe
...
...
@@ -173,6 +173,8 @@ int udr_config::load_interface(const libconfig::Setting &if_cfg,
//------------------------------------------------------------------------------
void
udr_config
::
display
()
{
Logger
::
config
().
info
(
"==== OAI-CN5G %s v%s ===="
,
PACKAGE_NAME
,
PACKAGE_VERSION
);
Logger
::
config
().
info
(
"====================== UDR ====================="
);
Logger
::
config
().
info
(
"Configuration UDR:"
);
...
...
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