We're using TeamCity 9 on Ubunutu system. I want to copy the the artifacts published in the build to a directory (defined in Apache config as virtual directory) so that our application would get deployed.
Currently, our artifacts are being published in
I want to copy it to, let's say,
I'm currently doing this:
I've added this command in my build step.`cp -R -f %teamcity.build.workingDir%/* /home/ubuntu/repo_name/`
Is it correct way?
It doesn't copy artifacts, but it copies the working directory, right now this might work as well.
How should I copy the artifacts?