[MAC2] Starting Virtual Machine...
[MAC2] Powering on VM
[MAC2] Waiting for VMTools
[MAC2] VM Tools are running
[MAC2] Finished wait for VMTools
[MAC2] Waiting for 10 seconds before asking hudson.plugins.sshslaves.SSHLauncher@7532717a to launch slave.
[MAC2] Asking SSHLauncher to launch slave.
SSHLauncher{host='${NODE_NAME}', port=22, credentialsId='866b2b93-717a-4c91-9d46-f5f79c45726a', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=false, trackCredentials=true}
[05/21/20 11:57:01] [SSH] Opening SSH connection to ${NODE_NAME}:22.
${NODE_NAME}: Temporary failure in name resolution
SSH Connection failed with IOException: "${NODE_NAME}: Temporary failure in name resolution", retrying in 15 seconds. There are 10 more retries left.
${NODE_NAME}: Temporary failure in name resolution
SSH Connection failed with IOException: "${NODE_NAME}: Temporary failure in name resolution", retrying in 15 seconds. There are 9 more retries left.
Did you try putting ${NODE_NAME} as the value for Host? That's what we use, and it works well.