I am trying to install Jenkins to achieve a Github -> EC2 instance folder pipeline. So far everything works well when I target an empty folder... however, when I target my production folder owned by
www-data the SSH copy of the files fail for permission, as Jenkins uses the
ubuntu user, the only one I have an SSH login for.
How do I solve this issue?