Commit d9f493d3 authored by Ophélie Gagnard's avatar Ophélie Gagnard Committed by Ophélie Gagnard

software/erp5testnode/testsuite/deploy-test/deploy-script-controller: Pass the...

software/erp5testnode/testsuite/deploy-test/deploy-script-controller: Pass the required variables to the test script.
parent 27fdfcd9
...@@ -89,8 +89,8 @@ function upload () ...@@ -89,8 +89,8 @@ function upload ()
try=1 try=1
while true; do while true; do
echo "$0: Try $try. Running '/bin/bash $DEPLOYMENT_SCRIPT'" >> $LOG_FILE 2>&1 echo "$0: Try $try. Running '/bin/bash $DEPLOYMENT_SCRIPT'" >> $LOG_FILE 2>&1
export TEST_YML_PATH export TEST_YML_PATH ANSIBLE_wendelin_url ANSIBLE_wendelin_pwd ANSIBLE_wendelin_reference ANSIBLE_packages_to_scan
/bin/bash $DEPLOYMENT_SCRIPT >> $LOG_FILE 2>&1 /bin/bash "$DEPLOYMENT_SCRIPT" >> "$LOG_FILE" 2>&1
result=$? result=$?
if [ $result == 0 ] ; then if [ $result == 0 ] ; then
echo "$0: Try $try. Script executed successfully." >> $LOG_FILE 2>&1 echo "$0: Try $try. Script executed successfully." >> $LOG_FILE 2>&1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment