Add logs to smoke tests (#13533)

* add logs

* fix log option

* update log folder
This commit is contained in:
Lucy Zhang
2020-11-25 06:58:43 -08:00
committed by GitHub
parent d060f1b9a0
commit 1554e51932
2 changed files with 6 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ steps:
set -e
APP_ROOT=$(agent.builddirectory)/azuredatastudio-darwin
APP_NAME="`ls $APP_ROOT | head -n 1`"
yarn smoketest --build "$APP_ROOT/$APP_NAME" --screenshots "$(build.artifactstagingdirectory)/smokeshots"
yarn smoketest --build "$APP_ROOT/$APP_NAME" --screenshots "$(build.artifactstagingdirectory)/smokeshots" --log "$(build.artifactstagingdirectory)/logs/darwin/smoke.log"
displayName: Run smoke tests (Electron)
continueOnError: true
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))