Skip to content

Commit

Permalink
rename variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
atchertchian committed Dec 5, 2024
1 parent 91e2729 commit fadfe78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/actions/reportportal-summarize/get-slack-message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ if [[ -n "$RP_LAUNCH_KEY" ]]; then
read -r status
case $status in
PASSED)
sstatus="" ;;
status_icon="" ;;
FAILED)
sstatus=""
status_icon=""
;;
*)
sstatus="$status"
status_icon="$status"
;;
esac
MSG+="\n<$RP_LAUNCH_URL/$id|Report #$number> $sstatus"
MSG+="\n<$RP_LAUNCH_URL/$id|Report #$number> $status_icon"
done < <(echo "$RP_CONTENT" | jq -r '.content[] | .id, .number, .status')
fi
fi
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/reportportal-summarize/get-teams-message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ if [[ -n "$RP_LAUNCH_KEY" ]]; then
read -r status
case $status in
PASSED)
sstatus="" ;;
status_icon="" ;;
FAILED)
sstatus=""
status_icon=""
;;
*)
sstatus="$status"
status_icon="$status"
;;
esac
MSG+="\n\n[Report #$number]($RP_LAUNCH_URL/$id) $sstatus"
MSG+="\n\n[Report #$number]($RP_LAUNCH_URL/$id) $status_icon"
done < <(echo "$RP_CONTENT" | jq -r '.content[] | .id, .number, .status')
fi
fi
Expand Down

0 comments on commit fadfe78

Please sign in to comment.