Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAE-28530 Fix ReportPortal launch key #838

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/reportportal-summarize/get-teams-message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ if [[ -n "$RP_LAUNCH_KEY" ]]; then

NB=$(echo "$RP_CONTENT" | jq -r '.page.totalElements // "0"')
if [[ "$NB" == "0" || -z "$NB" ]]; then
MSG+="No report found for key "'`'"$RP_LAUNCH_KEY"'`'"."
MSG+="No report found for key $RP_LAUNCH_KEY."
MSG+="\n\nSee [latest reports]($RP_LAUNCH_URL)."
elif [ "$NB" == "1" ]; then
RP_LAUNCH_ID=$(echo "$RP_CONTENT" | jq -r '.content[0].id // empty')
STATUS=$(echo "$RP_CONTENT" | jq -r '.content[0].status // empty')
[[ "$STATUS" == 'PASSED' ]] && ICON="✅" || ICON="❌"
MSG+="See [report]($RP_LAUNCH_URL/$RP_LAUNCH_ID) $ICON"
else
MSG+="$NB reports found for key "'`'"$RP_LAUNCH_KEY"'`'"."
MSG+="$NB reports found for key $RP_LAUNCH_KEY."
while read -r id ; do
read -r number
read -r status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ setup() {
export RP_LAUNCH_URL=https://rpserver:8080/ui/#my-project/launches/all

export NO_MESSAGE="message="
export KEY_NO_REPORT="message=No report found for key \`my-tests-push-3665876492\`.\n\nSee [latest reports](https://rpserver:8080/ui/#my-project/launches/all)."
export KEY_NO_REPORT="message=No report found for key my-tests-push-3665876492.\n\nSee [latest reports](https://rpserver:8080/ui/#my-project/launches/all)."
export SINGLE_REPORT="message=See [report](https://rpserver:8080/ui/#my-project/launches/all/88) ✅"
export MULTIPLE_REPORTS=$(cat << BATS
message=3 reports found for key \`my-tests-push-3665876492\`.\n\n[Report #3](https://rpserver:8080/ui/#my-project/launches/all/91) ❌\n\n[Report #2](https://rpserver:8080/ui/#my-project/launches/all/90) WHATEVER_STATUS\n\n[Report #1](https://rpserver:8080/ui/#my-project/launches/all/89) ✅
message=3 reports found for key my-tests-push-3665876492.\n\n[Report #3](https://rpserver:8080/ui/#my-project/launches/all/91) ❌\n\n[Report #2](https://rpserver:8080/ui/#my-project/launches/all/90) WHATEVER_STATUS\n\n[Report #1](https://rpserver:8080/ui/#my-project/launches/all/89) ✅
BATS
)
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v8.6.1
v8.6.2
Loading