The 'Deploy to Production Server' step is separate from the clone step and doesn't inherit the working directory. The scp command was running from the default directory where docker-compose files don't exist. Adding 'cd /workspace/repo' before scp to access the cloned repository files. This fixes the error: docker-compose.base.yml: No such file or directory docker-compose.production.yml: No such file or directory