Fix env var
parent
3b6731bea8
commit
e1aceb5101
|
@ -40,7 +40,7 @@ pipeline {
|
|||
new_ip=$(vagrant ssh -c "hostname -I" | tr -d '\r')
|
||||
echo "$QINDEL_PASS" | sudo -S bash -c "echo '$new_ip api-test' >> /etc/hosts"
|
||||
echo "IP: $new_ip"
|
||||
curl -X 'GET' 'http://$new_ip/ogdhcp/v1/subnets' -H 'accept: /'
|
||||
curl -X 'GET' "http://$new_ip/ogdhcp/v1/subnets" -H 'accept: /'
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue