apply PR feedback; add notifications

This commit is contained in:
Carlos Zamora 2021-06-23 14:13:02 -07:00
parent c91e078df8
commit 16d226a6f4
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{
"config": {
"base_url": "https://dev.azure.com/microsoft/os",
"auth_token": "INSERT_PAT_HERE",
"project": "OpenConsole",
"type": "Bug",
"unique_fields": [
"System.Title",
"System.AreaPath"
],
"comment": "<br> This is my call stack: <ul> {% for item in report.call_stack %} <li> {{ item }} </li> {% endfor %} </ul> Repro Command: <br> <pre> {{ repro_cmd }} </pre> <br> Scariness: <ul> <li> Score: {{scariness_score}} </li> <li> Description: {{scariness_description}} </li> </ul>",
"ado_fields": {
"System.AreaPath": "OS\\WDX\\DXP\\WinDev\\Terminal",
"System.Title": "{{report.task_id}}"
},
"on_duplicate": {
"increment": [],
"comment": "DUP {{report.input_sha256}} <br> Repro Command: <br> <pre> {{ repro_cmd }} </pre> ",
"set_state": {
"Resolved": "Active"
},
"ado_fields": {}
}
}
}

View file

@ -48,6 +48,7 @@ stages:
set -ex
pip -q install onefuzz
onefuzz config --endpoint $(endpoint) --client_id $(client_id) --client_secret $(client_secret)
sed -i s/INSERT_PAT_HERE/${ado_pat}/ ../Fuzz/notifications-ado.json
displayName: Configure OneFuzz
- bash: |
onefuzz template libfuzzer basic OpenConsole $(test_name) $(Build.SourceVersion) windows --target_exe $(target_exe_path)