Skip to content

Commit

Permalink
[devops] Add some debug code to figure out a random error. (#15947)
Browse files Browse the repository at this point in the history
The 'Expand tests.' step sometimes fails with:

> ##[error]Bash exited with code '1'.

Which is very unhelpful. Make bash more verbose to see if we can figure out what's going wrong.
  • Loading branch information
rolfbjarne authored Sep 15, 2022
1 parent 3545f9c commit 77bba5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/devops/automation/templates/mac/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ steps:

# sometimes the make that creates the pkgs fails.
- bash: |
set -ex
if ! test -f $(Build.SourcesDirectory)/artifacts/tmp/mac-test-package/mac-test-package.7z; then
echo "No test package could be found for tests on macOS $CONTEXT" > "$GITHUB_FAILURE_COMMENT_FILE"
exit 1
Expand Down

5 comments on commit 77bba5c

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.