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
wangwenhui
OpenXG-RAN
Commits
43491569
Commit
43491569
authored
Apr 17, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
f07086e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ci-scripts/test-boris-Jenkinsfile
ci-scripts/test-boris-Jenkinsfile
+5
-2
No files found.
ci-scripts/test-boris-Jenkinsfile
View file @
43491569
...
...
@@ -48,6 +48,8 @@ def ADB_IPAddress = "none"
def
ADB_Username
=
"none"
def
ADB_Password
=
"none"
def
EPC_IPAddress
=
"none"
def
EPC_Username
=
"none"
def
EPC_Password
=
"none"
...
...
@@ -190,7 +192,7 @@ pipeline {
echo
"ADB_IPAddress= ${ADB_IPAddress}"
echo
"ADB_Username = ${ADB_Username}"
echo
"ADB_Password = ${ADB_Password}"
echo
"mainPythonAllXmlFiles = ${mainPythonAllXmlFiles}"
//
echo "mainPythonAllXmlFiles = ${mainPythonAllXmlFiles}"
echo
"params.eNB_IPAddress = ${params.eNB_IPAddress}"
echo
"eNB_Username = ${eNB_Username}"
echo
"params.eNB_Password = ${params.eNB_Password}"
...
...
@@ -209,7 +211,8 @@ pipeline {
for
(
xmlFile
in
myXmlTestSuite
)
{
if
(
fileExists
(
xmlFile
))
{
try
{
sh
"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${params.eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
echo
"The test will be executed here."
//sh "python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${params.eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
buildStageStatus
=
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