Skip to content

Commit

Permalink
conditional catch when slackGroup not found
Browse files Browse the repository at this point in the history
  • Loading branch information
IGallupSoCo committed Oct 14, 2024
1 parent a402ae3 commit 89d9dae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/github-actions/cypress-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ integrationHelper() {
slack_group=$(grep -A 3 "\"rootFolder\": \"$product\"" ./config/changed-apps-build.json | awk -F'"' '/slackGroup/ {print $4}')

if [[ -z "$slack_group" ]]; then
echo "Error: no slackGroup found for product '$product'"
exit 1
echo "Warning: no slackGroup found for product '$product'. Results will be sent to status-vets-website"
slack_group="<C02V265VCGH>"

fi

echo "VETS_WEBSITE_CHANNEL_ID=$slack_group" >> $GITHUB_ENV
Expand Down

0 comments on commit 89d9dae

Please sign in to comment.