Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-SMF
Commits
84a148a0
Commit
84a148a0
authored
Mar 24, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] fix to enable RHEL stages
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@openairinterface.org
>
parent
68c247b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+13
-5
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
84a148a0
...
...
@@ -43,13 +43,13 @@ def rem_rhel8_resource = params.PodmanContainers
def
smf_tag
=
"develop"
def
smf_branch
=
"develop"
// Merge Request Link
def
gitlabMergeRequestLink
// We are using a base image to speed up CI build.
// This base image is potentially subject to changes over time.
def
SMF_BASE_IMAGE_TAG
=
params
.
SmfBaseImageTag
// Merge Request Link
def
gitlabMergeRequestLink
//-------------------------------------------------------------------------------
// Pipeline start
pipeline
{
...
...
@@ -89,11 +89,19 @@ pipeline {
echo
"1st Node is ${NODE_NAME}"
echo
"2nd Node is ${rem_u18_host}"
}
else
{
echo
"U18 Node
is ${NODE_NAME}"
echo
"U18 Node is ${NODE_NAME}"
}
}
else
{
echo
"Node is ${NODE_NAME}"
}
if
(
params
.
Remote_RHEL_Server_Flag
!=
null
)
{
rem_rhel_host_flag
=
params
.
Remote_RHEL_Server_Flag
if
(
rem_rhel_host_flag
)
{
rem_rhel_host
=
params
.
Remote_RHEL_Server_Name
rem_rhel_host_user
=
params
.
Remote_RHEL_Server_Login
echo
"RHEL Node is ${rem_rhel_host}"
}
}
echo
"Git URL is ${GIT_URL}"
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
...
...
@@ -128,6 +136,7 @@ pipeline {
smf_tag
=
"ci-tmp"
rhel_smf_tag
=
'ci-tmp-pr-'
+
env
.
gitlabMergeRequestIid
+
'-'
+
shortenShaOne
smf_branch
=
env
.
gitlabSourceBranch
echo
"MR TAG is ${rhel_smf_tag}"
}
else
{
echo
"======== THIS IS A PUSH REQUEST ========"
echo
"Git Branch is ${GIT_BRANCH}"
...
...
@@ -456,7 +465,6 @@ OAI CI Team''',
to:
gitCommitAuthorEmailAddr
}
}
}
}
}
...
...
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