Update password for user qindel
testing/og-dhcp-API/pipeline/head There was a failure building this commit Details

testing
Nicolas Arenas 2024-10-01 08:14:15 +02:00
parent 1f0561666c
commit 6973eb7d67
1 changed files with 2 additions and 1 deletions

View File

@ -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/"
'''