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
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Bin He
openairinterface5G
Commits
8760ad83
Commit
8760ad83
authored
6 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix on the cppcheck variant tests
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
a7541968
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/buildOnVM.sh
+3
-3
3 additions, 3 deletions
ci-scripts/buildOnVM.sh
with
3 additions
and
3 deletions
ci-scripts/buildOnVM.sh
+
3
−
3
View file @
8760ad83
...
@@ -260,7 +260,7 @@ echo "############################################################"
...
@@ -260,7 +260,7 @@ echo "############################################################"
echo
"Running install and build script on VM (
$VM_NAME
)"
echo
"Running install and build script on VM (
$VM_NAME
)"
echo
"############################################################"
echo
"############################################################"
echo
"sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$VM_CMDS
echo
"sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$VM_CMDS
if
[
"
$VM_NAME
"
==
"
ci
-cppcheck"
]
if
[
[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]
]
then
then
echo
"echo
\"
sudo apt-get --yes --quiet install zip cppcheck
\"
"
>>
$VM_CMDS
echo
"echo
\"
sudo apt-get --yes --quiet install zip cppcheck
\"
"
>>
$VM_CMDS
echo
"sudo apt-get update > zip-install.txt 2>&1"
>>
$VM_CMDS
echo
"sudo apt-get update > zip-install.txt 2>&1"
>>
$VM_CMDS
...
@@ -273,7 +273,7 @@ echo "mkdir tmp" >> $VM_CMDS
...
@@ -273,7 +273,7 @@ echo "mkdir tmp" >> $VM_CMDS
echo
"cd tmp"
>>
$VM_CMDS
echo
"cd tmp"
>>
$VM_CMDS
echo
"echo
\"
unzip -qq -DD ../localZip.zip
\"
"
>>
$VM_CMDS
echo
"echo
\"
unzip -qq -DD ../localZip.zip
\"
"
>>
$VM_CMDS
echo
"unzip -qq -DD ../localZip.zip"
>>
$VM_CMDS
echo
"unzip -qq -DD ../localZip.zip"
>>
$VM_CMDS
if
[
"
$VM_NAME
"
==
"
ci
-cppcheck"
]
if
[
[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]
]
then
then
echo
"mkdir cmake_targets/log"
>>
$VM_CMDS
echo
"mkdir cmake_targets/log"
>>
$VM_CMDS
echo
"cp /home/ubuntu/zip-install.txt cmake_targets/log"
>>
$VM_CMDS
echo
"cp /home/ubuntu/zip-install.txt cmake_targets/log"
>>
$VM_CMDS
...
@@ -304,7 +304,7 @@ then
...
@@ -304,7 +304,7 @@ then
fi
fi
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
*
.txt
$ARCHIVES_LOC
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
*
.txt
$ARCHIVES_LOC
if
[
"
$VM_NAME
"
==
"
ci
-cppcheck"
]
if
[
[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]
]
then
then
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
*
.xml
$ARCHIVES_LOC
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
*
.xml
$ARCHIVES_LOC
fi
fi
...
...
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