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
ZhouShuya
OpenXG-RAN
Commits
db104f19
Commit
db104f19
authored
May 03, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
71c1e46e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
37 deletions
+6
-37
ci-scripts/test-boris-Jenkinsfile
ci-scripts/test-boris-Jenkinsfile
+0
-31
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
+2
-2
ci-scripts/xml_files/gnb_usrp_build.xml
ci-scripts/xml_files/gnb_usrp_build.xml
+2
-2
ci-scripts/xml_files/nr_ue_usrp_build.xml
ci-scripts/xml_files/nr_ue_usrp_build.xml
+2
-2
No files found.
ci-scripts/test-boris-Jenkinsfile
View file @
db104f19
...
@@ -97,8 +97,6 @@ pipeline {
...
@@ -97,8 +97,6 @@ pipeline {
echo
" Repository -- ${GIT_URL}"
echo
" Repository -- ${GIT_URL}"
echo
" Branch -- ${GIT_BRANCH}"
echo
" Branch -- ${GIT_BRANCH}"
echo
" Commit -- ${GIT_COMMIT}"
echo
" Commit -- ${GIT_COMMIT}"
sh
"git log -n1"
//eNB_Repository = ${GIT_URL}
}
}
}
}
}
}
...
@@ -195,12 +193,6 @@ pipeline {
...
@@ -195,12 +193,6 @@ pipeline {
echo
"Some parameters are missing"
echo
"Some parameters are missing"
sh
"./ci-scripts/fail.sh"
sh
"./ci-scripts/fail.sh"
}
}
// The following parameters are kept not to break the current main.py command line and code.
// They should be removed in the future.
//if (params.ADB_IPAddress == null) {
// params.ADB_IPAddress = "none"
//}
//echo "params.ADB_IPAddress = ${params.ADB_IPAddress}"
}
}
}
}
}
}
...
@@ -209,22 +201,6 @@ pipeline {
...
@@ -209,22 +201,6 @@ pipeline {
steps
{
steps
{
script
{
script
{
dir
(
'ci-scripts'
)
{
dir
(
'ci-scripts'
)
{
echo
"\u2705 \u001B[32m${testStageName}\u001B[0m"
echo
"params.eNB_Credentials = ${params.eNB_Credentials}"
echo
"params.UE_Credentials = ${params.UE_Credentials}"
echo
"eNB_Repository = ${eNB_Repository}"
echo
"eNB_Branch= ${eNB_Branch}"
echo
"eNB_CommitID= ${eNB_CommitID}"
echo
"eNB_AllowMergeRequestProcess= ${eNB_AllowMergeRequestProcess}"
echo
"params.ADB_IPAddress= ${params.ADB_IPAddress}"
echo
"ADB_IPAddress= ${ADB_IPAddress}"
echo
"ADB_Username = ${ADB_Username}"
echo
"ADB_Password = ${ADB_Password}"
echo
"params.eNB_IPAddress = ${params.eNB_IPAddress}"
echo
"params.eNB_SourceCodePath = ${params.eNB_SourceCodePath}"
echo
"ADB_IPAddress = ${ADB_IPAddress}"
echo
"EPC_IPAddress = ${EPC_IPAddress}"
echo
"BUILD_STAGE_STATUS = ${BUILD_STAGE_STATUS}"
withCredentials
([
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
],
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
],
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.UE_Credentials}"
,
usernameVariable:
'UE_Username'
,
passwordVariable:
'UE_Password'
]
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.UE_Credentials}"
,
usernameVariable:
'UE_Username'
,
passwordVariable:
'UE_Password'
]
...
@@ -234,8 +210,6 @@ pipeline {
...
@@ -234,8 +210,6 @@ pipeline {
for
(
xmlFile
in
myXmlTestSuite
)
{
for
(
xmlFile
in
myXmlTestSuite
)
{
if
(
fileExists
(
xmlFile
))
{
if
(
fileExists
(
xmlFile
))
{
try
{
try
{
echo
"The test will be executed here. The command would be:"
echo
"sh \"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --UEIPAddress=${params.eNB_IPAddress} --UEUserName=${eNB_Username} --UEPassword=${eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --UESourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}\""
sh
"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --UEIPAddress=${params.eNB_IPAddress} --UEUserName=${eNB_Username} --UEPassword=${eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --UESourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
sh
"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --UEIPAddress=${params.eNB_IPAddress} --UEUserName=${eNB_Username} --UEPassword=${eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --UESourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
currentBuild
.
result
=
'FAILURE'
...
@@ -336,11 +310,6 @@ echo "sh \"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress
...
@@ -336,11 +310,6 @@ echo "sh \"python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress
if
(
fileExists
(
"ue.log.${env.BUILD_ID}.zip"
))
{
if
(
fileExists
(
"ue.log.${env.BUILD_ID}.zip"
))
{
archiveArtifacts
"ue.log.${env.BUILD_ID}.zip"
archiveArtifacts
"ue.log.${env.BUILD_ID}.zip"
}
}
if
(
fileExists
(
"ci-scripts/test_results.html"
))
{
sh
"mv ci-scripts/test_results.html test_results-${JOB_NAME}.html"
sh
"sed -i -e 's#TEMPLATE_JOB_NAME#${JOB_NAME}#' -e 's@build #TEMPLATE_BUILD_ID@build #${BUILD_ID}@' -e 's#Build-ID: TEMPLATE_BUILD_ID#Build-ID: <a href=\"${BUILD_URL}\">${BUILD_ID}</a>#' -e 's#TEMPLATE_STAGE_NAME#${testStageName}#' test_results-${JOB_NAME}.html"
archiveArtifacts
"test_results-${JOB_NAME}.html"
}
}
}
}
}
}
}
...
...
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
View file @
db104f19
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<htmlTabName>
run-OAI-gNB-NR-UE-USRP
</htmlTabName>
<htmlTabName>
run-OAI-gNB-NR-UE-USRP
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
090101 000001 090102 000001 09010
3
090109
090101 000001 090102 000001 09010
8
090109
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<air_interface>
NR
</air_interface>
<air_interface>
NR
</air_interface>
</testCase>
</testCase>
<testCase
id=
"09010
3
"
>
<testCase
id=
"09010
8
"
>
<class>
Terminate_OAI_UE
</class>
<class>
Terminate_OAI_UE
</class>
<desc>
Terminate NR UE
</desc>
<desc>
Terminate NR UE
</desc>
<air_interface>
NR
</air_interface>
<air_interface>
NR
</air_interface>
...
...
ci-scripts/xml_files/gnb_usrp_build.xml
View file @
db104f19
...
@@ -25,11 +25,11 @@
...
@@ -25,11 +25,11 @@
<htmlTabName>
Build
</htmlTabName>
<htmlTabName>
Build
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
0
9
0101
0
1
0101
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"0
9
0101"
>
<testCase
id=
"0
1
0101"
>
<mode>
TesteNB
</mode>
<mode>
TesteNB
</mode>
<class>
Build_eNB
</class>
<class>
Build_eNB
</class>
<desc>
Build gNB (USRP)
</desc>
<desc>
Build gNB (USRP)
</desc>
...
...
ci-scripts/xml_files/nr_ue_usrp_build.xml
View file @
db104f19
...
@@ -25,11 +25,11 @@
...
@@ -25,11 +25,11 @@
<htmlTabName>
Build
</htmlTabName>
<htmlTabName>
Build
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
0
9
0102
0
1
0102
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"0
9
0102"
>
<testCase
id=
"0
1
0102"
>
<mode>
TestUE
</mode>
<mode>
TestUE
</mode>
<class>
Build_OAI_UE
</class>
<class>
Build_OAI_UE
</class>
<desc>
Build NR UE (USRP)
</desc>
<desc>
Build NR UE (USRP)
</desc>
...
...
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