I am migrating jenkins from server A to server B. I copied all configuration from /home/jenkins/.jenkins including config.xml, workspace, credentials.xml etc.
After migration, I can see all jobs on Jenkins dashboard but I need to select the credentials which I am using on server A e.g. Github authentication credentials. I can see those credentials in drop-down menu but need to select for each job.
This is taking a lot of time. Is there any workaround or any option that those credentials automatically got hold on dashboard of Server B Jenkins ?