Hi Team,
We installed jenkins in new RHEL 8.x server. It will be the failover server of the existing prod server.
In order to replicate the configuration, i have done rsync the Jenkins directory “/var/lib/jenkins” from Prod → New failover server. All plugins, jobs are replicated in new server which is good. Below is the rsync command used on Prod that copies the directory on new server.
$ rsync -aP --delete --exclude nodes --exclude jenkins.model* /var/lib
Credentials stored for each project folder is listing in new server, but the its not working. (example) We use SSH private keys as credentials for projects, They are listing in the credentials store, but its not working. We had to re-load the password for each credentials to make it work.
Can you please suggest how to replicate the credentials store successfully from Prod to new server so we dont need to update the password/key for each credentials in new server ?
Thanks