Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
e0549de9
Commit
e0549de9
authored
2 months ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Remove Slack integration for Jenkins jobs
parent
3090d041
No related branches found
No related tags found
1 merge request
!3221
fix(ci): waiting for a pod using k8s wait command
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/Jenkinsfile-GitLab-Container
+0
-12
0 additions, 12 deletions
ci-scripts/Jenkinsfile-GitLab-Container
with
0 additions
and
12 deletions
ci-scripts/Jenkinsfile-GitLab-Container
+
0
−
12
View file @
e0549de9
...
@@ -658,9 +658,6 @@ pipeline {
...
@@ -658,9 +658,6 @@ pipeline {
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
addGitLabMRComment
comment:
message
addGitLabMRComment
comment:
message
def
message2
=
message
+
" -- MergeRequest #"
+
env
.
gitlabMergeRequestIid
+
" ("
+
env
.
gitlabMergeRequestTitle
+
")"
def
message2
=
message
+
" -- MergeRequest #"
+
env
.
gitlabMergeRequestIid
+
" ("
+
env
.
gitlabMergeRequestTitle
+
")"
sendSocialMediaMessage
(
'ci-enb'
,
'good'
,
message2
)
}
else
{
sendSocialMediaMessage
(
'ci-enb'
,
'good'
,
message
)
}
}
echo
"Pipeline is SUCCESSFUL"
echo
"Pipeline is SUCCESSFUL"
}
}
...
@@ -672,9 +669,6 @@ pipeline {
...
@@ -672,9 +669,6 @@ pipeline {
def
fullMessage
=
message
+
'\n\nList of failing test stages:'
+
failingStages
def
fullMessage
=
message
+
'\n\nList of failing test stages:'
+
failingStages
addGitLabMRComment
comment:
fullMessage
addGitLabMRComment
comment:
fullMessage
def
message2
=
message
+
" -- MergeRequest #"
+
env
.
gitlabMergeRequestIid
+
" ("
+
env
.
gitlabMergeRequestTitle
+
")"
def
message2
=
message
+
" -- MergeRequest #"
+
env
.
gitlabMergeRequestIid
+
" ("
+
env
.
gitlabMergeRequestTitle
+
")"
sendSocialMediaMessage
(
'ci-enb'
,
'danger'
,
message2
)
}
else
{
sendSocialMediaMessage
(
'ci-enb'
,
'danger'
,
message
)
}
}
echo
"Pipeline FAILED"
echo
"Pipeline FAILED"
}
}
...
@@ -798,9 +792,3 @@ def finalizeSlaveJob(jobName) {
...
@@ -798,9 +792,3 @@ def finalizeSlaveJob(jobName) {
return
artifactUrl
return
artifactUrl
}
}
}
}
// Abstraction function to send social media messages:
// like on Slack or Mattermost
def
sendSocialMediaMessage
(
pipeChannel
,
pipeColor
,
pipeMessage
)
{
slackSend
channel:
pipeChannel
,
color:
pipeColor
,
message:
pipeMessage
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment