From 66d5d83817afd981cbfbc7d740f3353954361c2e Mon Sep 17 00:00:00 2001
From: Raphael Defosseux <raphael.defosseux@eurecom.fr>
Date: Fri, 2 Oct 2020 13:25:36 +0200
Subject: [PATCH] CI: renaming html report file

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
---
 .gitignore                             | 2 +-
 ci-scripts/Jenkinsfile-GitLab-Docker   | 4 ++--
 ci-scripts/dsTestGenerateHTMLReport.py | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index b95c0877..bc743973 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,5 +4,5 @@ ci-scripts/mysql-complete.cmd
 ci-scripts/temp/ci-*.sh
 spgw_u.conf
 deploy_results_oai_cn5g.html
-test_results_oai_cn5g_ds_tester.html
+ds_tester_results_oai_cn5g.html
 cn5g_fed_docker_logs.zip
diff --git a/ci-scripts/Jenkinsfile-GitLab-Docker b/ci-scripts/Jenkinsfile-GitLab-Docker
index daa594bb..1977e5bb 100644
--- a/ci-scripts/Jenkinsfile-GitLab-Docker
+++ b/ci-scripts/Jenkinsfile-GitLab-Docker
@@ -265,8 +265,8 @@ pipeline {
         if (fileExists('deploy_results_oai_cn5g.html')) {
           archiveArtifacts artifacts: 'deploy_results_oai_cn5g.html'
         }
-        if (fileExists('test_results_oai_cn5g_ds_tester.html')) {
-          archiveArtifacts artifacts: 'test_results_oai_cn5g_ds_tester.html'
+        if (fileExists('ds_tester_results_oai_cn5g.html')) {
+          archiveArtifacts artifacts: 'ds_tester_results_oai_cn5g.html'
         }
       }
     }
diff --git a/ci-scripts/dsTestGenerateHTMLReport.py b/ci-scripts/dsTestGenerateHTMLReport.py
index 7855a08e..1dfd2a43 100644
--- a/ci-scripts/dsTestGenerateHTMLReport.py
+++ b/ci-scripts/dsTestGenerateHTMLReport.py
@@ -34,7 +34,7 @@ class HtmlReport():
 
 	def generate(self):
 		cwd = os.getcwd()
-		self.file = open(cwd + '/test_results_oai_cn5g_ds_tester.html', 'w')
+		self.file = open(cwd + '/ds_tester_results_oai_cn5g.html', 'w')
 		self.generateHeader()
 
 		finalStatus = self.testSummaryHeader()
-- 
GitLab