Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
90b0ee6f
Commit
90b0ee6f
authored
Oct 03, 2019
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add commit notes URL to scheduled qa job slack notification
parent
a54ee323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
.gitlab/ci/notifications.gitlab-ci.yml
.gitlab/ci/notifications.gitlab-ci.yml
+6
-2
No files found.
.gitlab/ci/notifications.gitlab-ci.yml
View file @
90b0ee6f
...
@@ -10,8 +10,10 @@ schedule:package-and-qa:notify-success:
...
@@ -10,8 +10,10 @@ schedule:package-and-qa:notify-success:
extends
:
extends
:
-
.only-canonical-schedules
-
.only-canonical-schedules
-
.notify
-
.notify
before_script
:
-
export COMMIT_NOTES_URL="https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list"
script
:
script
:
-
'
scripts/notify-slack
qa-master
":tada:
Scheduled
QA
against
master
passed!
:tada:
See
$CI_PIPELINE_URL."
ci_passing'
-
'
scripts/notify-slack
qa-master
":tada:
Scheduled
QA
against
master
passed!
:tada:
See
$CI_PIPELINE_URL.
For
downstream
pipelines,
see
$COMMIT_NOTES_URL
"
ci_passing'
needs
:
[
"
schedule:package-and-qa"
]
needs
:
[
"
schedule:package-and-qa"
]
when
:
on_success
when
:
on_success
...
@@ -19,7 +21,9 @@ schedule:package-and-qa:notify-failure:
...
@@ -19,7 +21,9 @@ schedule:package-and-qa:notify-failure:
extends
:
extends
:
-
.only-canonical-schedules
-
.only-canonical-schedules
-
.notify
-
.notify
before_script
:
-
export COMMIT_NOTES_URL="https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list"
script
:
script
:
-
'
scripts/notify-slack
qa-master
":skull_and_crossbones:
Scheduled
QA
against
master
failed!
:skull_and_crossbones:
See
$CI_PIPELINE_URL."
ci_failing'
-
'
scripts/notify-slack
qa-master
":skull_and_crossbones:
Scheduled
QA
against
master
failed!
:skull_and_crossbones:
See
$CI_PIPELINE_URL.
For
downstream
pipelines,
see
$COMMIT_NOTES_URL
"
ci_failing'
needs
:
[
"
schedule:package-and-qa"
]
needs
:
[
"
schedule:package-and-qa"
]
when
:
on_failure
when
:
on_failure
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