-
Notifications
You must be signed in to change notification settings - Fork 1.5k
{Pipeline} print stacktrace when exception #1516
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
Conversation
…into alertsmanagement
…into alertsmanagement
…into alertsmanagement
…into alertsmanagement
…into alertsmanagement-phase1
…into alertsmanagement-phase1
…into alertsmanagement-phase1
…into alertsmanagement-phase1
…zure-cli-extensions into alertsmanagement-phase1
|
If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR: |
| check_call(script_args) | ||
| try: | ||
| check_call(script_args) | ||
| except CalledProcessError as e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why speific this error? what about other errors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It raises this kind of error when it fails according to the doc. It's not recommended to catch a too-broad exception.
|
It didnt' trigger the desired job runs on alertsmanagement extension. |
I am modifying pipeline definition to show the error. It does not aim to trigger the failed doc job. |


I met an error in CI checks. I cannot reproduce it in my machine. So I edit pipeline in order to show the detailed error.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.jsonautomatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json.