Commit 7413c6f5776572c0a40eb923d23cfff9326a20f7

Adrian Perez de Castro 2019-08-06T12:25:29

CI: Save the Meson logs as downloadable files This uploads the files saves to meson-build/meson-logs/ and associates them to the pipeline task, which makes them availabl for download in the Azure Pipelines web interface.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 09a417c..bfcf219 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -27,4 +27,7 @@ jobs:
           ninja -C meson-build
           meson test -C meson-build --print-errorlogs \
             --wrap='valgrind --leak-check=full --track-origins=yes --error-exitcode=99'
+          for file in "$(pwd)"/meson-build/meson-logs/* ; do
+            echo "##vso[task.uploadfile]${file}"
+          done
         displayName: 'Meson'