Update password for user qindel
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
parent
1f0561666c
commit
6973eb7d67
|
@ -6,6 +6,7 @@ pipeline {
|
|||
}
|
||||
environment {
|
||||
ESXI_PASS = credentials('VI_PASSWORD')
|
||||
QINDEL_PASS = credentials('jenkins-user-slave-password')
|
||||
PATH = "/home/qindel/bin/ovftool:${env.PATH}"
|
||||
}
|
||||
stages {
|
||||
|
@ -26,7 +27,7 @@ pipeline {
|
|||
sh '''
|
||||
set -e
|
||||
new_ip=$(vagrant ssh -c "ip a | grep inet | grep eth0 | awk \'{print $2}\' | cut -d/ -f1")
|
||||
echo "$new_ip test-api" | sudo tee -a /etc/hosts > /dev/null
|
||||
echo "$new_ip test-api" | sudo -S tee -a /etc/hosts <<<$QINDEL_PASS
|
||||
echo "IP: $new_ip"
|
||||
curl -L -X 'GET' -H 'accept: application/json' "http://api-test/opengnsys3/rest/dhcp/subnets/"
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue