Skip to content

Commit

Permalink
test: adding test case for new execution path
Browse files Browse the repository at this point in the history
  • Loading branch information
erbenjak committed Jan 10, 2024
1 parent c290443 commit 511a7f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/test_teams_messaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,20 @@ echo "Enter the BUILD_NUMBER :"
read BUILD_NUMBER_VALUE
export BUILD_NUMBER=$BUILD_NUMBER_VALUE

# we want to test the execution without any artifacts present
echo "Testing without the artifactLinks environment variable"
jscm teams-develop --platform "ios" --projectName "Mein Codemagic Test Projekt"
jscm teams-production --platform "ios" --projectName "Mein Codemagic Test Projekt"
echo "Finished teams messaging tests without artifactLinks"

echo "--------------------------------------------"
export CM_ARTIFACT_LINKS=$(cat artifactLinks.json)
echo "created the artifactLinks environment variable"
echo "--------------------------------------------"

echo "webhook url: $teams_webhook_url"

echo "Starting teams messaging tests"
echo "Testing with the artifactLinks environment variable"
jscm teams-develop --platform "ios" --projectName "Mein Codemagic Test Projekt"
jscm teams-production --platform "ios" --projectName "Mein Codemagic Test Projekt"
touch ~/SUCCESS
Expand Down

0 comments on commit 511a7f7

Please sign in to comment.