CI: Save the Meson logs as downloadable files
authorAdrian Perez de Castro <aperez@igalia.com>
Tue, 6 Aug 2019 09:25:29 +0000 (12:25 +0300)
committerRan Benita <ran234@gmail.com>
Fri, 9 Aug 2019 20:01:27 +0000 (23:01 +0300)
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.

azure-pipelines.yml

index 09a417c..bfcf219 100644 (file)
@@ -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'