https://cypress.io logo
Trying to extract cypress video from docker contai...
# i-need-help
s
Hi all! Been hitting a bit of a wall when trying to extract video output from my cypress docker container as a job artifact. I know it can be a bit fiddly running a docker container within a runner job, but I'm left scratching my head. Has anyone got any ideas how I can bypass this error and get the video files from the running container saved as an artifact? Here's a link to the files I'm using: https://github.com/Preddeh/cypress-test/tree/main Thanks!

https://cdn.discordapp.com/attachments/1098727256832081930/1098727257066975372/Screenshot_from_2023-04-20_22-31-58.png

Any takers?
e
You likely need to fix your artifacts path. I've never had to specify the file extension and you shouldn't either. I think if you change
./videos/*.mp4
to just
videos
you will be ok. The runner will know to look for the videos folder, especially if you are running all your commands at the parent folder, without you needing to specify
./
either.