Skip to content
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
b0f7e30
Initial commit
qwordy Dec 31, 2019
3657360
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Jan 16, 2020
0b5607a
Update
qwordy Jan 17, 2020
007bf40
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Jan 17, 2020
698d6e5
smart-detector-alert-rule
qwordy Jan 17, 2020
53d7eb9
Add smart group, alert commands
qwordy Jan 20, 2020
4db5e86
Merge branch 'master' into alertsmanagement
qwordy Feb 17, 2020
81ba2ae
Update
qwordy Feb 17, 2020
5c288ea
action-rule create
qwordy Feb 18, 2020
203baba
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Feb 18, 2020
187facd
action-rule create / udpate
qwordy Feb 19, 2020
e9bf874
Fix style
qwordy Feb 19, 2020
ba2b67b
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Feb 19, 2020
0be79cf
add code owner
qwordy Feb 20, 2020
7feafc4
merge
qwordy Mar 5, 2020
24155fd
Merge branch 'master' of github.com:Azure/azure-cli-extensions into a…
qwordy Mar 9, 2020
eebe4ee
test
qwordy Mar 9, 2020
48dc0b0
remove rubbish code
qwordy Mar 10, 2020
0a41eaa
Merge branch 'master' of github.com:Azure/azure-cli-extensions into a…
qwordy Mar 10, 2020
7fb3654
Only reserve action-rule commands
qwordy Mar 10, 2020
bc37331
update help
qwordy Mar 10, 2020
b937b4f
update name, rg
qwordy Mar 10, 2020
052a855
update help
qwordy Mar 10, 2020
95b7898
list
qwordy Mar 10, 2020
b4d4c0a
--status
qwordy Mar 10, 2020
4763e8b
recurrence_type
qwordy Mar 11, 2020
10424e0
alert_rule
qwordy Mar 11, 2020
fa8b90f
SuppressionSchedule
qwordy Mar 11, 2020
6d384ca
remove rubbish code
qwordy Mar 11, 2020
b4ff21e
update setup.py
qwordy Mar 11, 2020
204fed8
refactor
qwordy Mar 11, 2020
ffa3e57
remove trash
qwordy Mar 11, 2020
9f36459
Rename alertsmanagement to monitor
qwordy Mar 11, 2020
00f11d1
style
qwordy Mar 12, 2020
7e2b69f
merge
qwordy Mar 12, 2020
8b3d149
recurrence pattern; add 3 examples
qwordy Mar 13, 2020
8fc8e12
readme
qwordy Mar 13, 2020
e3e7577
preview
qwordy Mar 13, 2020
ff05aaa
help
qwordy Mar 16, 2020
e0c4a1e
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Mar 16, 2020
16f508c
help
qwordy Mar 17, 2020
b8468f7
fix
qwordy Mar 17, 2020
01909cc
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Mar 17, 2020
60a2029
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Apr 2, 2020
8d95d4e
Add experimental tag
qwordy Apr 2, 2020
bedc15e
remove python 3.5; change min version
qwordy Apr 2, 2020
1c3e275
Fix merge mistake
qwordy Apr 2, 2020
9429ea5
update min cli core verison
qwordy Apr 2, 2020
1216097
experimental
qwordy Apr 2, 2020
575cbb3
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 3, 2020
0683907
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 3, 2020
3db13d8
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 5, 2020
7b05846
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Apr 7, 2020
4991510
{Pipeline} print stacktrace when exception
qwordy Apr 7, 2020
4d7fd2e
Merge branch 'alertsmanagement-phase1' of https://github.com/qwordy/a…
qwordy Apr 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scripts/ci/index_ref_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
import os
import sys
import tempfile
import traceback
import unittest
import shutil
from subprocess import check_call
from subprocess import check_call, CalledProcessError
from pkg_resources import parse_version, get_distribution

from six import with_metaclass
Expand Down Expand Up @@ -57,7 +58,11 @@ def test(self):
os.mkdir(ref_doc_out_dir)
script_args = [sys.executable, REF_GEN_SCRIPT, '--extension-file', ext_file, '--output-dir',
ref_doc_out_dir]
check_call(script_args)
try:
check_call(script_args)
except CalledProcessError as e:
Copy link
Member

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?

Copy link
Member Author

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.

traceback.print_exc(e)
raise e
return test

for ext_name, ext_url, filename in ALL_TESTS:
Expand Down