Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gprshome
openairinterface5G
Commits
d74942ee
Commit
d74942ee
authored
6 years ago
by
Boris Djalal
Browse files
Options
Downloads
Patches
Plain Diff
CI: adding L1-noS1 simulator to Jenkins pipeline.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
0995a991
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci-scripts/Jenkinsfile-gitlab
+17
-2
17 additions, 2 deletions
ci-scripts/Jenkinsfile-gitlab
ci-scripts/runTestOnVM.sh
+11
-0
11 additions, 0 deletions
ci-scripts/runTestOnVM.sh
with
28 additions
and
2 deletions
ci-scripts/Jenkinsfile-gitlab
+
17
−
2
View file @
d74942ee
...
...
@@ -224,7 +224,7 @@ pipeline {
steps
{
gitlabCommitStatus
(
name:
"Build eNb-ethernet"
)
{
timeout
(
time:
20
,
unit:
'MINUTES'
)
{
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant enb-ethernet --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant enb-ethernet --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
}
}
}
...
...
@@ -233,7 +233,7 @@ pipeline {
steps
{
gitlabCommitStatus
(
name:
"Build UE-ethernet"
)
{
timeout
(
time:
20
,
unit:
'MINUTES'
)
{
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant ue-ethernet --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant ue-ethernet --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
}
}
}
...
...
@@ -376,6 +376,21 @@ pipeline {
}
}
}
stage
(
"Test L1 simulator"
)
{
steps
{
script
{
gitlabCommitStatus
(
name:
"Test L1-sim"
)
{
timeout
(
time:
30
,
unit:
'MINUTES'
)
{
try
{
sh
"./ci-scripts/oai-ci-vm-tool test --workspace $WORKSPACE --variant enb-ethernet --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
}
}
}
}
}
}
}
}
stage
(
"Test FDD - Band 7 - B210"
)
{
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/runTestOnVM.sh
+
11
−
0
View file @
d74942ee
...
...
@@ -1683,6 +1683,17 @@ function run_test_on_vm {
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$UE_VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_UE_LOG_FILE
$ARCHIVES_LOC
if
[
$KEEP_VM_ALIVE
-eq
0
]
then
echo
"############################################################"
echo
"Destroying VMs"
echo
"############################################################"
uvt-kvm destroy
$ENB_VM_NAME
ssh-keygen
-R
$ENB_VM_IP_ADDR
uvt-kvm destroy
$UE_VM_NAME
ssh-keygen
-R
$UE_VM_IP_ADDR
fi
echo
"############################################################"
echo
"Checking run status"
echo
"############################################################"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment