Clone an existing Node. If you are using VMs it's quite easy.
Start the new Node (node5).
Then replace all references of the old hostname in /etc
grep -R node4 /etc 2>/dev/null
/etc/openshift.node.conf
/etc/sysconfig/network
import jenkins.model.* | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.common.* | |
import com.cloudbees.plugins.credentials.domains.* | |
import com.cloudbees.plugins.credentials.impl.* | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
import org.jenkinsci.plugins.plaincredentials.* | |
import org.jenkinsci.plugins.plaincredentials.impl.* | |
import hudson.util.Secret | |
import hudson.plugins.sshslaves.* |
Clone an existing Node. If you are using VMs it's quite easy.
Start the new Node (node5).
Then replace all references of the old hostname in /etc
grep -R node4 /etc 2>/dev/null
/etc/openshift.node.conf
/etc/sysconfig/network