diff --git a/docs/ci.md b/docs/ci.md index 3e76de2..86ce46b 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -196,17 +196,17 @@ Worth knowing that while you can push through ssh, there is no allowed shell for In case you want to migrate your old jenkins configuration to new CI instance follow this guide. -1. Login to [old openshift instance](https://oauth-openshift.apps.ocp.ci.centos.org/) +1. Login to [old openshift instance](https://console-openshift-console.apps.ocp.ci.centos.org/) 2. Click at your username in upper right corner and select `Copy login command` 3. Use [oc](https://console-openshift-console.apps.ocp.ci.centos.org/command-line-tools) tool to login 4. Switch to correct project `oc project ` (you should already be on correct project, but it's better to check) -5. Copy the old configuration to your machine `oc rsync :/var/lib/jenkins/jobs ` +5. Copy the old configuration to your machine `oc rsync :/var/lib/jenkins/jobs ` (you can find the jenkins pod name with `oc get pods|grep jenkins`) - !!! note - Usually you want to only migrate jobs, but if you need any other configuration file, just - do `oc rsh ` and look inside `/var/lib/jenkins` for all configuration files. - Just be aware that some of the files could contain IP or hostname that will no longer work - in new CI instance. +!!! note + Usually you want to only migrate jobs, but if you need any other configuration file, just + do `oc rsh ` and look inside `/var/lib/jenkins` for all configuration files. + Just be aware that some of the files could contain IP or hostname that will no longer work + in new CI instance. 6. Login to [new openshift instance](https://console-openshift-console.apps.ocp.cloud.ci.centos.org/) 7. Click at your username in upper right corner and select `Copy login command`