Skip to content

Commit 27782c7

Browse files
committed
ff
1 parent f3bfeaa commit 27782c7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build-tools/automation/azure-pipelines.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,13 @@ extends:
217217
continueOnError: true
218218
- script: |
219219
$ANDROID_HOME/platform-tools/adb devices
220-
# $ANDROID_HOME/platform-tools/adb shell screencap /data/local/tmp/screenshot.png
221-
# $ANDROID_HOME/platform-tools/adb pull /data/local/tmp/screenshot.png $(Build.StagingDirectory)/screenshot1.png
222220
displayName: Capture Output
221+
- script: |
222+
$ANDROID_HOME/platform-tools/adb shell screencap /data/local/tmp/screenshot.png
223+
displayName: Capture Screenshot
224+
- script: |
225+
$ANDROID_HOME/platform-tools/adb pull /data/local/tmp/screenshot.png $(Build.StagingDirectory)/screenshot1.png
226+
displayName: copy screen shot
223227
- script: |
224228
waydroid session stop
225229
sudo waydroid container stop
@@ -229,7 +233,7 @@ extends:
229233
displayName: upload container tests
230234
artifactName: Test Results - Container
231235
targetPath: $(Build.StagingDirectory)
232-
condition: or(ne(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['XA.PublishAllLogs'], 'true'))
236+
#condition: or(ne(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['XA.PublishAllLogs'], 'true'))
233237

234238
- stage: smoke_tests
235239
displayName: Package Tests

0 commit comments

Comments
 (0)