Skip to content

Commit

Permalink
guard against CCI invocation API failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed Nov 27, 2024
1 parent b25fad5 commit f218b2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
--data "{\"branch\":\"main\",\"parameters\":{\"deno_sdk_import_url\":\"${IMPORT_URL}\"}}")
echo $TEST_PAYLOAD;
TEST_JOB_WORKFLOW_ID=$(echo $TEST_PAYLOAD | jq '.id');
if [ $TEST_JOB_WORKFLOW_ID = "null" ]; then
echo "Problem extracting job ID from invocation API call! Aborting.";
exit 1;
fi
echo "e2e test workflow started with id: $TEST_JOB_WORKFLOW_ID"
echo "TEST_JOB_WORKFLOW_ID=${TEST_JOB_WORKFLOW_ID}" >> $GITHUB_ENV
- name: Wait for platform-devxp-test E2E run to complete
Expand Down

0 comments on commit f218b2f

Please sign in to comment.