Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
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-NRF
Commits
1b09465b
Commit
1b09465b
authored
Mar 16, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] adding trigger to federation pipeline
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
f6aa767e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+32
-1
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
1b09465b
...
@@ -52,7 +52,8 @@ pipeline {
...
@@ -52,7 +52,8 @@ pipeline {
gitlabBuilds
(
builds:
[
gitlabBuilds
(
builds:
[
"Build NRF Image"
,
"Build NRF Image"
,
"Static Code Analysis"
,
"Static Code Analysis"
,
"Code Formatting Checker"
"Code Formatting Checker"
,
"Test with DsTester"
])
])
}
}
...
@@ -234,6 +235,36 @@ pipeline {
...
@@ -234,6 +235,36 @@ pipeline {
}
}
}
}
}
}
stage
(
'Testing in CN-5G-FED environment'
)
{
steps
{
script
{
gitlabCommitStatus
(
name:
"Test with DsTester"
)
{
localStatus
=
build
job:
params
.
CN5G_FED_PipelineName
,
parameters:
[
string
(
name:
'NRF_TAG'
,
value:
String
.
valueOf
(
amf_tag
)),
string
(
name:
'NRF_BRANCH'
,
value:
String
.
valueOf
(
amf_branch
))
],
propagate:
false
localResult
=
localStatus
.
getResult
()
if
(
localStatus
.
resultIsBetterOrEqualTo
(
'SUCCESS'
))
{
echo
"Federation Test Job is OK"
}
else
{
echo
"Federation Test Job is KO"
sh
"ci-scripts/fail.sh"
}
}
}
}
post
{
always
{
script
{
copyArtifacts
(
projectName:
params
.
CN5G_FED_PipelineName
,
filter:
'*_results_oai_cn5g.html'
,
selector:
lastCompleted
())
}
}
}
}
}
}
post
{
post
{
success
{
success
{
...
...
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