LAMP - Jenkins - Git setup as deployment -
i've got lamp stack, running web application @ /var/www/html/. right now, have source code hosted on bitbucket, , whenever there update, i'm doing git pull in /var/www/html/ directory update code. not ideal, , want change it.
i tried setting jenkins git plugin automatically, i'm running permissions problems when doing directly /var/www/html directory. i've got directory group writeable www-data group, , have added user jenkins group, no avail.
what's best way me have jenkins run , deploy code directory?
do have /var , /var/www directories (at least) readable group? had similar problems until made permission changes (i used setfacl) these directories.
Comments
Post a Comment