Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
10b18bb3
Commit
10b18bb3
authored
Mar 24, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] fix little typo on the MR Id
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
a25c80ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+4
-2
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
10b18bb3
...
@@ -121,9 +121,9 @@ pipeline {
...
@@ -121,9 +121,9 @@ pipeline {
script
{
script
{
sh
"git clean -x -d -f > /dev/null 2>&1"
sh
"git clean -x -d -f > /dev/null 2>&1"
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
gitlabMergeRequestLink
=
sh
"curl --silent \"https://gitlab.eurecom.fr/api/v4/projects/oai%2Fcn5g%2Foai-cn5g-
smf/merge_requests/53
\" | jq .web_url | sed 's#\"##g'"
gitlabMergeRequestLink
=
sh
"curl --silent \"https://gitlab.eurecom.fr/api/v4/projects/oai%2Fcn5g%2Foai-cn5g-
amf/merge_requests/${env.gitlabMergeRequestIid}
\" | jq .web_url | sed 's#\"##g'"
echo
"========= THIS IS A MERGE REQUEST =========="
echo
"========= THIS IS A MERGE REQUEST =========="
echo
"MR ID is ${env.gitlabMergeRequestId}"
echo
"MR ID is ${env.gitlabMergeRequestI
i
d}"
echo
"MR LINK is ${gitlabMergeRequestLink}"
echo
"MR LINK is ${gitlabMergeRequestLink}"
echo
"MR TITLE is ${env.gitlabMergeRequestTitle}"
echo
"MR TITLE is ${env.gitlabMergeRequestTitle}"
gitCommitAuthorEmailAddr
=
env
.
gitlabUserEmail
gitCommitAuthorEmailAddr
=
env
.
gitlabUserEmail
...
@@ -454,6 +454,8 @@ pipeline {
...
@@ -454,6 +454,8 @@ pipeline {
if
(
params
.
sendToCommitterEmail
)
{
if
(
params
.
sendToCommitterEmail
)
{
emailext
attachmentsPattern:
'*results*.html'
,
emailext
attachmentsPattern:
'*results*.html'
,
body:
'''Hi,
body:
'''Hi,
Here are attached HTML report files for $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
Here are attached HTML report files for $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
Regards,
Regards,
...
...
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