Created
September 12, 2021 20:14
-
-
Save WolfgangOfner/dfdf93b4fe6540c59ed4a1c037fdf5fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- pwsh: | | |
$id=docker images --filter "label=test=$(Build.BuildId)" -q | Select-Object -First 1 | |
docker create --name testcontainer $id | |
docker cp testcontainer:/testresults ./testresults | |
docker rm testcontainer | |
displayName: 'Copy test results' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment