From 27782c7c6503a964de9c268976c4130111dab162 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Tue, 2 Jul 2024 14:34:09 +0100 Subject: [PATCH] ff --- build-tools/automation/azure-pipelines.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 804038f7005..1b6c5eec484 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -217,9 +217,13 @@ extends: continueOnError: true - script: | $ANDROID_HOME/platform-tools/adb devices - # $ANDROID_HOME/platform-tools/adb shell screencap /data/local/tmp/screenshot.png - # $ANDROID_HOME/platform-tools/adb pull /data/local/tmp/screenshot.png $(Build.StagingDirectory)/screenshot1.png displayName: Capture Output + - script: | + $ANDROID_HOME/platform-tools/adb shell screencap /data/local/tmp/screenshot.png + displayName: Capture Screenshot + - script: | + $ANDROID_HOME/platform-tools/adb pull /data/local/tmp/screenshot.png $(Build.StagingDirectory)/screenshot1.png + displayName: copy screen shot - script: | waydroid session stop sudo waydroid container stop @@ -229,7 +233,7 @@ extends: displayName: upload container tests artifactName: Test Results - Container targetPath: $(Build.StagingDirectory) - condition: or(ne(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['XA.PublishAllLogs'], 'true')) + #condition: or(ne(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['XA.PublishAllLogs'], 'true')) - stage: smoke_tests displayName: Package Tests