Skip to content
Snippets Groups Projects
Commit 3edccc09 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Robot scripts and dockerfile adjustment with results directory

parent 540ff21a
No related branches found
No related tags found
2 merge requests!99Merge Latest changes from staging to main,!55Resolve "Robot task to create default users by admin"
......@@ -6,7 +6,7 @@ DOCKER_ROBOT_IMAGE_VERSION=4.0
cd ..
REPOSITORY_BASE_FOLDER=${PWD}
TEST_FOLDER=$REPOSITORY_BASE_FOLDER/tests
RESULT_FOLDER=$REPOSITORY_BASE_FOLDER/results/$timestamp
RESULT_FOLDER=$REPOSITORY_BASE_FOLDER/results
ROBOT_DOCKER_FILE_FOLDER=$REPOSITORY_BASE_FOLDER/tools/robot
# nginx Hostname and http port (80 by default) to reach for tests
......
......@@ -8,6 +8,8 @@ TESTS_REQ_FILE=ROBOT_TESTS_DIRECTORY/requirements.txt
ARGUMENTS=
OPTIONS=
timestamp=$(date +"%Y%m%d_%H%M%S")
while [ -n "$1" ]; do # while loop starts
case "$1" in
......@@ -45,4 +47,4 @@ then
fi
pip install -r $BASE_REQ_FILE
robot -d ROBOT_RESULTS_DIRECTORY --xunit xunit.xml $OPTIONS $ARGUMENTS
robot -d ROBOT_RESULTS_DIRECTORY/$timestamp --xunit xunit.xml $OPTIONS $ARGUMENTS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment