-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
CopyArtifact Version: 1.38.1
Jenkins Version: 2.46.3
OS Version: Centos 7
How am I using jenkins?: We are using jenkins as version control of website files (wordpress).
What am I trying to do?: I'm trying to use this plugin to copy the site files to the /var/www/html directory to a sub directory specific to the site (dir to dir transfer on the same server). I previously used Artifact Deployer for this but its currently dead.
Whats the problem: The destination directory is set to give the Jenkins user full permission BUT I get a permission denied error (Permissions apache:webadmin (Jenkins is part of the webadmin group) 755). When I set the folder permissions to 777 the plugin is able to successfully copy the files there.
I did disable selinux and was able to rule that out as the cause. Does this plugin run as a different user when copying files? Any other reason why this may be happening?
Flatten directories isn't an option as it destroys the WordPress file hierarchy.