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
常顺宇
OpenXG-RAN
Commits
9db654d6
Commit
9db654d6
authored
Aug 03, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: retrieve HTML report from slave job and archive it
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
9766eaa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
ci-scripts/Jenkinsfile-gitlab
ci-scripts/Jenkinsfile-gitlab
+15
-2
No files found.
ci-scripts/Jenkinsfile-gitlab
View file @
9db654d6
...
@@ -31,6 +31,7 @@ def sendSocialMediaMessage(pipeChannel, pipeColor, pipeMessage) {
...
@@ -31,6 +31,7 @@ def sendSocialMediaMessage(pipeChannel, pipeColor, pipeMessage) {
}
}
def
doRedHatBuild
=
false
def
doRedHatBuild
=
false
def
FDD_Band7_B210_Status
pipeline
{
pipeline
{
agent
{
agent
{
...
@@ -265,7 +266,7 @@ pipeline {
...
@@ -265,7 +266,7 @@ pipeline {
gitlabCommitStatus
(
name:
"Test-FDD-Band7"
)
{
gitlabCommitStatus
(
name:
"Test-FDD-Band7"
)
{
script
{
script
{
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
build
job:
'eNB-CI-FDD-Band7-B210'
,
FDD_Band7_B210_Status
=
build
job:
'eNB-CI-FDD-Band7-B210'
,
parameters:
[
parameters:
[
string
(
name:
'eNB_Repository'
,
value:
String
.
valueOf
(
GIT_URL
)),
string
(
name:
'eNB_Repository'
,
value:
String
.
valueOf
(
GIT_URL
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
env
.
gitlabSourceBranch
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
env
.
gitlabSourceBranch
)),
...
@@ -273,7 +274,7 @@ pipeline {
...
@@ -273,7 +274,7 @@ pipeline {
booleanParam
(
name:
'eNB_mergeRequest'
,
value:
true
)
booleanParam
(
name:
'eNB_mergeRequest'
,
value:
true
)
]
]
}
else
{
}
else
{
build
job:
'eNB-CI-FDD-Band7-B210'
,
FDD_Band7_B210_Status
=
build
job:
'eNB-CI-FDD-Band7-B210'
,
parameters:
[
parameters:
[
string
(
name:
'eNB_Repository'
,
value:
String
.
valueOf
(
GIT_URL
)),
string
(
name:
'eNB_Repository'
,
value:
String
.
valueOf
(
GIT_URL
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
GIT_BRANCH
)),
string
(
name:
'eNB_Branch'
,
value:
String
.
valueOf
(
GIT_BRANCH
)),
...
@@ -284,6 +285,18 @@ pipeline {
...
@@ -284,6 +285,18 @@ pipeline {
}
}
}
}
}
}
post
{
always
{
script
{
copyArtifacts
(
projectName:
'eNB-CI-FDD-Band7-B210'
,
filter:
'test_results*.html'
,
selector:
specific
(
"${FDD_Band7_B210_Status.number}"
))
if
(
fileExist
(
'test_results-eNB-CI-FDD-Band7-B210.html'
))
{
archiveArtifacts
artifacts:
'test_results-eNB-CI-FDD-Band7-B210.html'
}
}
}
}
}
}
}
}
post
{
post
{
...
...
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