Skip to content

Commit

Permalink
fix: "skipped" status is not shown as "pending" was taking precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
keskad committed May 22, 2024
1 parent 25e9a4b commit 410e9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/feedback/jxscm/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const defaultProgressComment = `
| Stage | Status |
|-------|--------|
{{- range $stage := .pipeline.GetStages }}
| {{ $stage.Name }} | {{ if $stage.Status.IsNotStarted }}Pending{{ else if $stage.Status.IsRunning }}:hourglass_flowing_sand:{{ else if $stage.Status.IsErroredOrFailed }}:x:{{ else if $stage.Status.IsSucceeded }}:white_check_mark:{{ else if $stage.Status.IsSkipped }}:arrow_lower_left: Skipped{{ else }}{{ $stage.Status.AsHumanReadableDescription }}{{ end }} |
| {{ $stage.Name }} | {{ if $stage.Status.IsSkipped }}:arrow_lower_left: Skipped{{ else if $stage.Status.IsNotStarted }}Pending{{ else if $stage.Status.IsRunning }}:hourglass_flowing_sand:{{ else if $stage.Status.IsErroredOrFailed }}:x:{{ else if $stage.Status.IsSucceeded }}:white_check_mark:{{ else }}{{ $stage.Status.AsHumanReadableDescription }}{{ end }} |
{{- end }}
{{ if .pipeline.GetDashboardUrl }}- [Open in dashboard]({{ .pipeline.GetDashboardUrl }}){{ end }}
Expand Down

0 comments on commit 410e9fd

Please sign in to comment.