Copying artifacts after SSH Exec

Answered

Hello,

There seems to be a lot of issues regarding publishing artifacts, but I have an opposite problem:
I'm running some tests on remote machine (via SSH Exec) that produce a file (on a remote machine) that I'd like to display as TeamCity Build Report Tab.

However, I was unable to find a way of retrieving information from remote server during build. Even such kludge as redirecting all output from SSH Exec to a file on teamcity server seems to be impossible.
Am I missing something, or is this functionality not actually present?

--
With best regards.
Andrey

0
1 comment

Hi Andrey,

wouldn't it be possible to simply use scp in a command line step to forward the output file into the agent? You would need to have scp available in the agents that can run that build, but other than that, should do what you want to.

0

Please sign in to leave a comment.