I’m trying to track down why one particular test is failing in my CircleCI environment. I’m using Chromedriver, so I’ve SSHed into the CircleCI box and adjusted my code to take a screenshot at a particular time, however, I need to copy the file from the CI box to my local machine to view it.
Would storing it as an artifact be of any use to you? If it’s a screenshot, html etc, it’ll be viewable from the browser after being uploaded as an artifact.
Assuming your file is called capybara-201807110928188272235753, you’ll need a space before the . to make that command work. You don’t have a destination parameter presently.
Ah, check this as well - I can’t remember what user is required with SSH, but I imagine it’s not likely to match up with the user in your local machine.
Assuming your file is called capybara-201807110928188272235753, you’ll need a space before the . to make that command work. You don’t have a destination parameter presently.
Yeah, I think that was a bad copy paste job. The file is a png, and I had the destination there, I just didn’t select it all
Ah, check this as well - I can’t remember what user is required with SSH, but I imagine it’s not likely to match up with the user in your local machine.
That occurred to me just after posting this, I tried circleci@, and I got the same error
That all said, I like @Cormac’s suggestion of using build artifacts. I’ll give that a go