Last active
November 10, 2024 16:00
-
-
Save andreasneuber/2d429916419d17858bf7d9631807ca8c to your computer and use it in GitHub Desktop.
Copy test report "out" of a docker container to host
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
# Powershell | |
docker cp "$(docker ps -qf 'name=<name of container>'):/app/test-reports/report-1.html" "./report-1.html" | |
# Gitlab Pipeline Job | |
copy_artifact: | |
stage: artifacts | |
script: | |
- docker cp $(docker ps -qf "name=<name of container>"):/app/test-reports/report-1.html ./report-1.html | |
artifacts: | |
paths: | |
- report-1.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment