Hi,
We have jenkins running Centos 7 (without GUI) and we are trying to move our /var/lib/jenkins/jobs to an nfs share.
We’ve made the nfs share and mounted it like this in fstab:
server_name:/server_nfs_path/jenkins/jobs nfs rw,hard,intr,nosuid,rsize=8192,wsize=8192,timeo=14 0 0
So this is what we did to do this:
- Stop jenkins service
- Rename /var/lib/jenkins/jobs to /var/lib/jenkins/jobs_old
- Mount the drive
- Copy the contents from /var/lib/jenkins/jobs_old to /var/lib/jenkins/jobs
- Adjust the permissions so that they are the same as well (chown and chmod)
- Start jenkins service
Jenkins runs but things dont work quite right (e.g. triggering builds doent actually do anything) but logs and existing configs are picked up correctly.
Are we missing a step or is there a config that is missing?
Thanks