mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Merge pull request #1771 from thibaultserti/develop
fix: slack color for failure
This commit is contained in:
commit
60f3c72c22
@ -202,7 +202,7 @@ func (t *TaskRunner) sendSlackAlert() {
|
|||||||
if t.Task.Status == lib.TaskSuccessStatus {
|
if t.Task.Status == lib.TaskSuccessStatus {
|
||||||
color = "good"
|
color = "good"
|
||||||
} else if t.Task.Status == lib.TaskFailStatus {
|
} else if t.Task.Status == lib.TaskFailStatus {
|
||||||
color = "bad"
|
color = "danger"
|
||||||
} else if t.Task.Status == lib.TaskRunningStatus {
|
} else if t.Task.Status == lib.TaskRunningStatus {
|
||||||
color = "#333CFF"
|
color = "#333CFF"
|
||||||
} else if t.Task.Status == lib.TaskWaitingStatus {
|
} else if t.Task.Status == lib.TaskWaitingStatus {
|
||||||
|
Loading…
Reference in New Issue
Block a user