Add jenkins plot
Adds jenkins plot celery task and ui page.
Related-PROD: PRODX-7403
Change-Id: Ib6984009560a8eba90b794efeb9cdee4b3fe8c0c
diff --git a/testrail_bot/js/plot.js b/testrail_bot/js/plot.js
new file mode 100644
index 0000000..0f0d335
--- /dev/null
+++ b/testrail_bot/js/plot.js
@@ -0,0 +1,13 @@
+const updateButton = document.querySelector("button");
+updateButton.addEventListener("click", updateJenkins);
+
+function updateJenkins(){
+ fetch("update_jenkins_plot").then(
+ (response) => response.text()
+ ).then(
+ (text) => {
+ alert(text);
+ updateButton.setAttribute('disabled', true);
+ updateButton.textContent = "Update in progress";
+ })
+}