Delete db
Change-Id: Ia04660607b296297d1b10ba8de82b49e2552e288
Related-PROD: PROD-30223
diff --git a/save_jenkins_console/README.md b/save_jenkins_console/README.md
index 90a6a53..d9906fe 100644
--- a/save_jenkins_console/README.md
+++ b/save_jenkins_console/README.md
@@ -1,5 +1,5 @@
-# jenkins_console_output
+#Save jenkins console output
Scrips get Jenkins's consoles outputs from jobs and save it to files.
Possible to archive old files.
-Delete old archives
\ No newline at end of file
+Delete old archives
diff --git a/save_jenkins_console/console_get_reports.sh b/save_jenkins_console/console_get_reports.sh
index 05eaf5a..b7bbe14 100755
--- a/save_jenkins_console/console_get_reports.sh
+++ b/save_jenkins_console/console_get_reports.sh
@@ -1,5 +1,6 @@
#!/bin/bash
-source /home/ubuntu/programs/jenkins_console_output/.venv/bin/activate
-python /home/ubuntu/programs/jenkins_console_output/genetate_report_html.py
+source /home/ubuntu/programs/osccore-qa-testing-tools/save_jenkins_console/.venv/bin/activate
+python /home/ubuntu/programs/osccore-qa-testing-tools/save_jenkins_console/save_jenkins_console/jenkins_api.py
+
rm -fr /tmp/oscore_qa_logs/*
diff --git a/save_jenkins_console/save_jenkins_console/config.py b/save_jenkins_console/save_jenkins_console/config.py
index a582c5b..ab72bf2 100644
--- a/save_jenkins_console/save_jenkins_console/config.py
+++ b/save_jenkins_console/save_jenkins_console/config.py
@@ -30,26 +30,12 @@
# Gets data from databases ans stores them to each directory test file
# where to unpack logs from db
-# LOGS_DIRECTORY = '/var/www/oscore_jobs.com/html/oscore_logs/'
-LOGS_DIRECTORY = '/home/serhii/my_projects/jenkins_console_output/logs/'
+LOGS_DIRECTORY = '/var/www/oscore_jobs.com/html/oscore_logs/'
# files older than in days
FILES_OLDER_THAN = 33
-# directory where databases are
-
-# Parameters for create_index_html.py
-PATCH_TO_INDEX_TEMPLATE_HTML = '/home/ubuntu/programs/jenkins_console_output/templates/index_template.html'
-PATCH_TO_OUTPUT_INDEX_HTML = '/var/www/oscore_jobs.com/html/index.html'
-
-# Parameters for create_html_report_table.py
-PATCH_TO_REPORT_TABLE_TEMPLATE_HTML = '/home/ubuntu/programs/jenkins_console_output/templates/report_template.html'
-PATCH_TO_OUTPUT_REPORT_TABLE_HTML = '/tmp/output_report.html'
# For logging all the data what is happening in this script
LOGGIGNG_FOLDER = '/tmp/oscore_qa_logs/'
-LOGGIGNG_CREATE_THML_INDEX = 'create_thml_index.log'
-LOGGIGNG_CREATE_HTML_REPORT_TABLE = 'create_html_report_table.log'
-# LOGGIGNG_DATABASE_TO_FILES = 'database_to_files.log'
-# LOGGIGNG_DELETE_DB_OLD_FILES = 'delete_db_old_files.log'
LOGGIGNG_JENKINS_API = 'jenkins_api.log'
LOGGIGNG_UTILS = 'utils.log'