From 641571a6af0d02e546bb9b40e4d6620b2e6c4440 Mon Sep 17 00:00:00 2001
From: Denis Arrivault <denis.arrivault@lif.univ-mrs.fr>
Date: Wed, 20 Jun 2018 14:54:17 +0200
Subject: [PATCH] Add index.html for the pages

---
 .gitlab-ci.yml |  1 +
 index.html     | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 index.html

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c79327..cd44acb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,7 @@ pages:
     - docker
   script:
     - ./gradlew run
+    - cp -r index.html public/
     - mkdir -p public/Tests_Results && cp -r build/reports/tests/test/* public/Tests_Results/
     - mkdir -p public/Jacoco && cp -r build/jacocoHtml/* public/Jacoco/
   artifacts:
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..7d662c9
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<title>Test Project web pages</title>
+</head>
+<body>
+<h3>Welcome to my super Test Project web pages</h3>
+<ul>
+<li><a href="http://denis.arrivault.pages.lis-lab.fr/Test_Project/Tests_Results/">See the unit tests report</a></li>
+<li><a href="http://denis.arrivault.pages.lis-lab.fr/Test_Project/Jacoco/">See the Jacoco coverage report</a></li>
+</ul>
+</body>
+</html>
\ No newline at end of file
-- 
GitLab