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
lizhongxiao
OpenXG-RAN
Commits
90c708c1
Commit
90c708c1
authored
Aug 23, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixing in the way customized behavior of CI depending of jenkins server is triggered
parent
bb57c61a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+5
-4
No files found.
ci-scripts/oai-ci-vm-tool
View file @
90c708c1
...
@@ -146,9 +146,9 @@ function platform_set {
...
@@ -146,9 +146,9 @@ function platform_set {
if
[
"
$TESTPLATFORM_OWNER
"
!=
""
]
if
[
"
$TESTPLATFORM_OWNER
"
!=
""
]
then
then
echo
"Running on
$TESTPLATFORM_OWNER
platform"
echo
"Running on
$TESTPLATFORM_OWNER
platform"
if
[
-x
"
${
TESTPLATFORM_OWNER
}
_setenv.sh"
]
if
[
-x
"
/usr/local/bin/oai_
${
TESTPLATFORM_OWNER
}
_setenv.sh"
]
then
then
.
${
TESTPLATFORM_OWNER
}
_setenv.sh
.
/usr/local/bin/oai_
${
TESTPLATFORM_OWNER
}
_setenv.sh
fi
fi
fi
fi
}
}
...
@@ -158,6 +158,7 @@ function setvar_usage {
...
@@ -158,6 +158,7 @@ function setvar_usage {
HELP_VAR[
"VM_OSREL"
]=
"OS release to use in virtual machines"
HELP_VAR[
"VM_OSREL"
]=
"OS release to use in virtual machines"
HELP_VAR[
"RUN_EXPERIMENTAL"
]=
"Enforce execution of variants with EXPERIMENTAL variable set to
\"
true
\"
"
HELP_VAR[
"RUN_EXPERIMENTAL"
]=
"Enforce execution of variants with EXPERIMENTAL variable set to
\"
true
\"
"
HELP_VAR[
"OPTIONAL_APTCACHER"
]=
"build and Run tests will fail if apt-cacher not installed and this variable not set to
\"
true
\"
"
HELP_VAR[
"OPTIONAL_APTCACHER"
]=
"build and Run tests will fail if apt-cacher not installed and this variable not set to
\"
true
\"
"
HELP_VAR[
"TESTPLATFORM_OWNER"
]=
"Allow pipeline customization via execution of an externel scripts residing on the jenkins server"
echo
"--setvar_<varname> <value> where varname is one of:"
echo
"--setvar_<varname> <value> where varname is one of:"
for
i
in
${
AUTHORIZED_VAR
[@]
}
;
do
printf
"%20s : %s
\n
"
"
$i
"
"
${
HELP_VAR
[
$i
]
}
"
;
done
for
i
in
${
AUTHORIZED_VAR
[@]
}
;
do
printf
"%20s : %s
\n
"
"
$i
"
"
${
HELP_VAR
[
$i
]
}
"
;
done
}
}
...
@@ -456,7 +457,7 @@ RUN_OPTIONS="none"
...
@@ -456,7 +457,7 @@ RUN_OPTIONS="none"
# list of variables that can be set via the --setvar option
# list of variables that can be set via the --setvar option
AUTHORIZED_VAR=("
VM_OSREL
RUN_EXPERIMENTAL OPTIONAL_APTCACHER
")
AUTHORIZED_VAR=("
VM_OSREL
RUN_EXPERIMENTAL OPTIONAL_APTCACHER
TESTPLATFORM_OWNER
")
#variables to set which OS VM should use
#variables to set which OS VM should use
...
...
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