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
300af2c5
Commit
300af2c5
authored
Nov 14, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): proper usage of flag for merge request
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
76d299f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
+2
-2
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel-long
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel-long
+2
-2
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
+6
-3
ci-scripts/Jenkinsfile-trig-nsa
ci-scripts/Jenkinsfile-trig-nsa
+4
-4
No files found.
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel
View file @
300af2c5
...
...
@@ -134,8 +134,8 @@ pipeline {
eNB_CommitID
=
params
.
eNB_CommitID
}
echo
"eNB_CommitID : ${eNB_CommitID}"
if
(
params
.
eNB_
AllowMergeRequestProcess
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
AllowMergeRequestProcess
if
(
params
.
eNB_
mergeRequest
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
mergeRequest
if
(
eNB_AllowMergeRequestProcess
)
{
if
(
params
.
eNB_TargetBranch
!=
null
)
{
eNB_TargetBranch
=
params
.
eNB_TargetBranch
...
...
ci-scripts/Jenkinsfile-tmp-multi-enb-benetel-long
View file @
300af2c5
...
...
@@ -145,8 +145,8 @@ pipeline {
// eNB_CommitID = params.eNB_CommitID
//}
echo
"eNB_CommitID : ${eNB_CommitID}"
if
(
params
.
eNB_
AllowMergeRequestProcess
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
AllowMergeRequestProcess
if
(
params
.
eNB_
mergeRequest
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
mergeRequest
if
(
eNB_AllowMergeRequestProcess
)
{
if
(
params
.
eNB_TargetBranch
!=
null
)
{
eNB_TargetBranch
=
params
.
eNB_TargetBranch
...
...
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
View file @
300af2c5
...
...
@@ -137,8 +137,8 @@ pipeline {
eNB_CommitID
=
params
.
eNB_CommitID
}
echo
"eNB_CommitID : ${eNB_CommitID}"
if
(
params
.
eNB_
AllowMergeRequestProcess
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
AllowMergeRequestProcess
if
(
params
.
eNB_
mergeRequest
!=
null
)
{
eNB_AllowMergeRequestProcess
=
params
.
eNB_
mergeRequest
if
(
eNB_AllowMergeRequestProcess
)
{
if
(
params
.
eNB_TargetBranch
!=
null
)
{
eNB_TargetBranch
=
params
.
eNB_TargetBranch
...
...
@@ -168,6 +168,9 @@ pipeline {
if
(
params
.
ADB_Credentials
==
null
)
{
allParametersPresent
=
false
}
if
(
params
.
DataBaseHost
==
"none"
)
{
DataBaseHost
=
pythonExecutor
}
if
(
allParametersPresent
)
{
echo
"All parameters are present"
...
...
@@ -319,7 +322,7 @@ pipeline {
}
stage
(
"SQL Collect"
){
when
{
expression
{
DataBaseHost
!=
"none"
}
expression
{
params
.
DataBaseHost
!=
"none"
}
}
agent
{
label
DataBaseHost
}
steps
{
...
...
ci-scripts/Jenkinsfile-trig-nsa
View file @
300af2c5
...
...
@@ -53,7 +53,7 @@ pipeline {
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
string
(
name:
'eNB_CommitID'
,
value:
String
.
valueOf
(
COMMIT_ID
)),
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_
AllowMergeRequestProcess
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
booleanParam
(
name:
'eNB_
mergeRequest
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling NSA 2x2
build
job:
"RAN-NSA-2x2-Module-OAIEPC"
,
wait
:
true
,
propagate
:
false
,
parameters:
[
...
...
@@ -61,7 +61,7 @@ pipeline {
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
string
(
name:
'eNB_CommitID'
,
value:
String
.
valueOf
(
COMMIT_ID
)),
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_
AllowMergeRequestProcess
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
booleanParam
(
name:
'eNB_
mergeRequest
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling LTE 2x2
build
job:
"RAN-LTE-2x2-Module-OAIEPC"
,
wait
:
true
,
propagate
:
false
,
parameters:
[
...
...
@@ -69,7 +69,7 @@ pipeline {
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
string
(
name:
'eNB_CommitID'
,
value:
String
.
valueOf
(
COMMIT_ID
)),
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_
AllowMergeRequestProcess
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
booleanParam
(
name:
'eNB_
mergeRequest
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
//calling SA
build
job:
"RAN-SA-Module-CN5G"
,
wait
:
true
,
propagate
:
false
,
parameters:
[
...
...
@@ -77,7 +77,7 @@ pipeline {
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
SRC_BRANCH
)),
string
(
name:
'eNB_CommitID'
,
value:
String
.
valueOf
(
COMMIT_ID
)),
string
(
name:
'eNB_TargetBranch'
,
value:
String
.
valueOf
(
TARGET_BRANCH
)),
booleanParam
(
name:
'eNB_
AllowMergeRequestProcess
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
booleanParam
(
name:
'eNB_
mergeRequest
'
,
value:
Boolean
.
valueOf
(
ALLOW_MERGE
))
]
}
...
...
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