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
Michael Black
OpenXG-RAN
Commits
8d5e74cb
Commit
8d5e74cb
authored
Sep 24, 2021
by
hardy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci_sql_collect_results' into integration_2021_wk37
parents
67b03a5d
11eab688
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
+16
-4
No files found.
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
View file @
8d5e74cb
...
...
@@ -24,6 +24,7 @@
// Location of the python executor node shall be in the same subnet as the others servers
def
pythonExecutor
=
params
.
pythonExecutor
def
DataBaseHost
=
params
.
DataBaseHost
// Location of the test XML file to be run
def
testXMLFile
=
params
.
pythonTestXmlFile
...
...
@@ -45,10 +46,12 @@ def eNB_CommitID
def
eNB_AllowMergeRequestProcess
def
eNB_TargetBranch
//Status fed to the database
def
StatusForDb
=
""
pipeline
{
agent
{
label
pythonExecutor
}
agent
{
label
pythonExecutor
}
options
{
disableConcurrentBuilds
()
ansiColor
(
'xterm'
)
...
...
@@ -270,6 +273,15 @@ pipeline {
}
}
}
stage
(
"SQL Collect"
){
agent
{
label
DataBaseHost
}
steps
{
script
{
if
(
currentBuild
.
result
==
'FAILURE'
)
{
StatusForDb
=
'FAIL'
}
else
{
StatusForDb
=
'PASS'
}
sh
"python3 /home/oaicicd/mysql/sql_connect.py ${JOB_NAME} ${params.eNB_MR} ${params.eNB_Branch} ${env.BUILD_ID} ${env.BUILD_URL} ${StatusForDb} ''"
}
}
}
}
}
}
...
...
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