We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866976e commit be93cd9Copy full SHA for be93cd9
1 file changed
azure-pipelines.yml
@@ -412,7 +412,6 @@ jobs:
412
- bash: |
413
414
# junit reporter output is to test_results_bug.xml
415
- touch test_results_bug.xml
416
sudo R -q -e '
417
library(testthat);
418
output_file <- file("test_console_output_bug.txt");
@@ -425,7 +424,11 @@ jobs:
425
424
426
cat test_console_output_bug.txt
427
428
- mv test_results_bug.xml $(Pipeline.Workspace)/logs
+ if [ -e test_results_bug.xml ]; then
+ mv test_results_bug.xml $(Pipeline.Workspace)/logs
429
+ else
430
+ touch $(Pipeline.Workspace)/logs/test_results_bug.xml
431
+ fi
432
433
workingDirectory: $(Pipeline.Workspace)/dsBaseClient
434
displayName: 'Bug report output'
0 commit comments