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
Li-Wei Liu
openairinterface5G
Commits
a282bea3
Commit
a282bea3
authored
Mar 22, 2019
by
Boris Djalal
Browse files
fix
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
290a22e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci-scripts/main.py
View file @
a282bea3
...
...
@@ -2432,16 +2432,20 @@ class SSHConnection():
self
.
IPAddress
=
self
.
eNBIPAddress
self
.
UserName
=
self
.
eNBUserName
self
.
Password
=
self
.
eNBPassword
self
.
SourceCodePath
=
self
.
eNBSourceCodePath
elif
(
self
.
UEIPAddress
!=
''
and
self
.
UEUserName
!=
''
and
self
.
UEPassword
!=
''
):
self
.
IPAddress
=
self
.
UEIPAddress
self
.
UserName
=
self
.
UEUserName
self
.
Password
=
self
.
UEPassword
self
.
SourceCodePath
=
self
.
UESourceCodePath
else
:
sys
.
exit
(
'Insufficient Parameter'
)
self
.
open
(
self
.
IPAddress
,
self
.
UserName
,
self
.
Password
)
self
.
command
(
'cd '
+
self
.
eNB
SourceCodePath
,
'\$'
,
5
)
self
.
command
(
'cd '
+
self
.
SourceCodePath
,
'\$'
,
5
)
self
.
command
(
'cd cmake_targets'
,
'\$'
,
5
)
self
.
command
(
'rm -f build.log.zip'
,
'\$'
,
5
)
self
.
command
(
'zip build.log.zip build_log_*/*'
,
'\$'
,
60
)
self
.
command
(
'echo '
+
self
.
eNB
Password
+
' | sudo -S rm -rf build_log_*'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
Password
+
' | sudo -S rm -rf build_log_*'
,
'\$'
,
5
)
self
.
close
()
def
LogCollecteNB
(
self
):
...
...
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