11-25 update
This commit is contained in:
@ -92,7 +92,7 @@ pipeline {
|
||||
|
||||
echo "Waiting for reboot"
|
||||
|
||||
def ip = sh(script: "cat /var/jenkins_home/ansible/.inv/inventory-${env.STAGE_TWO_HASH}.yml | grep host_ip | cut -d ';' -f 2", returnStdout: true).trim()
|
||||
def ip = sh(script: "cat /var/jenkins_home/ansible/.inv/inventory-${env.STAGE_TWO_HASH}.yml | grep stage_two_ip | cut -d ':' -f 2", returnStdout: true).trim()
|
||||
echo "Detected IP: ${ip}"
|
||||
|
||||
def timeoutSeconds = 300 // Total timeout: 5 minutes
|
||||
|
||||
Reference in New Issue
Block a user