Remove oscore-test-openstack-upgrade-ocata-pike-core job from the report
PROD-28773
Change-Id: Iacda5fc8723c5994b4075b059ed9f8ee051147c1
diff --git a/daily_jenkins_job_report/daily_report/config.py b/daily_jenkins_job_report/daily_report/config.py
index d49b71f..5f40305 100644
--- a/daily_jenkins_job_report/daily_report/config.py
+++ b/daily_jenkins_job_report/daily_report/config.py
@@ -3,13 +3,9 @@
PASSWORD = 'ahvoNg4mae'
JENKINS_URL = 'https://ci.mcp.mirantis.net'
-
# For get_jobs_results.py save_results_to_html method
-# GENERATED_REPORT = '/var/www/oscore_jobs.com/html/reports/'
-GENERATED_REPORT = \
- '/home/serhii/my_projects/osccore-qa-testing-tools/' \
- 'daily_jenkins_job_report/daily_report'
-REPORT_TEMPLATE = 'templates/report_template.html'
+GENERATED_REPORT = '/var/www/oscore_jobs.com/html/reports/'
+REPORT_TEMPLATE = '/home/ubuntu/osccore-qa-testing-tools/daily_jenkins_job_report/daily_report/templates/report_template.html'
# For generating report
MULTIJOBS = ['oscore-oscc-ci',
@@ -18,12 +14,11 @@
]
SINGLEJOBS = ['oscore-test-openstack-upgrade-ocata-pike-core',
- 'oscore-test-openstack-upgrade-pike-queens-core-barbican',
'oscore-test-openstack-upgrade-pike-queens-core-ssl',
'oscore-test-openstack-upgrade-pike-queens-core-extra-ssl'
]
# Logging
+LOGGER = 'generate_report'
LOG_FOLDER = '/tmp/'
LOG_FILENAME = 'daily_jenkins_jobs_report.log'
-LOGGER = 'generate_report'
diff --git a/daily_jenkins_job_report/run_generate_daily_report.sh b/daily_jenkins_job_report/run_generate_daily_report.sh
new file mode 100755
index 0000000..50802b1
--- /dev/null
+++ b/daily_jenkins_job_report/run_generate_daily_report.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+source /home/ubuntu/osccore-qa-testing-tools/daily_jenkins_job_report/.venv/bin/activate
+python /home/ubuntu/osccore-qa-testing-tools/daily_jenkins_job_report/daily_report/generate_report.py
+rm -fr /tmp/oscore_qa_logs/*