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
5b96aa8e
Commit
5b96aa8e
authored
Oct 10, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error
parent
d80d0b5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+4
-3
No files found.
ci-scripts/cls_containerize.py
View file @
5b96aa8e
...
...
@@ -60,9 +60,10 @@ def CreateWorkspace(sshSession, sourcePath, ranRepository, ranCommitID, ranTarge
sshSession
.
command
(
f'rm -rf
{
sourcePath
}
'
,
'\$'
,
10
)
sshSession
.
command
(
'mkdir -p '
+
sourcePath
,
'\$'
,
5
)
sshSession
.
command
(
'cd '
+
sourcePath
,
'\$'
,
5
)
sshSession
.
command
(
f'git clone --filter=blob:none -n -b develop
{
full_ran_repo_name
}
.'
,
'\$'
,
60
)
if
sshSession
.
getBefore
().
count
(
'done.'
)
==
0
:
logging
.
warning
(
'did not find
\'
done.
\'
in git output while cloning/fetching, was not successful?'
)
# Recent version of git (>2.20?) should handle missing .git extension # without problems
sshSession
.
command
(
f'git clone --filter=blob:none -n -b develop
{
ranRepository
}
.'
,
'\$'
,
60
)
if
sshSession
.
getBefore
().
count
(
'error'
)
>
0
or
sshSession
.
getBefore
().
count
(
'error'
)
>
0
:
sys
.
exit
(
'error during clone'
)
sshSession
.
command
(
'git config user.email "jenkins@openairinterface.org"'
,
'\$'
,
5
)
sshSession
.
command
(
'git config user.name "OAI Jenkins"'
,
'\$'
,
5
)
...
...
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