mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +02:00
Vuelo al fetch, por que habia puesto mal la URL, ahora se actualizan los logs mediante fetch
This commit is contained in:
parent
5b8e3c7c31
commit
6b3207413d
18
index.php
18
index.php
|
@ -3793,17 +3793,17 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
function get_checkboxes() { for (var e = document.getElementsByName("file[]"), t = [], n = e.length - 1; n >= 0; n--) (e[n].type = "checkbox") && t.push(e[n]); return t }
|
||||
|
||||
function update_logs() {
|
||||
var actualizarProduccion = confirm("Queres actualizar los logs de Produccion?");
|
||||
if (actualizarProduccion) {
|
||||
window.open("http://ao20-test.duckdnsorg:9090/job/re20-server-produccion-upload-logs-to-ftp/build?token=actualizarlogsparavererrores");
|
||||
}
|
||||
fetch("http://ao20-test.duckdns.org:9090/job/re20-server-produccion-upload-logs-to-ftp/build?token=actualizarlogsparavererrores")
|
||||
.catch(function (error) {
|
||||
alert("No se pudo actualizar log de Produccion Error: " + error);
|
||||
});
|
||||
|
||||
var actualizarTest = confirm("Queres actualizar los logs de Test?");
|
||||
if (actualizarTest) {
|
||||
window.open("http://ao20-test.duckdnsorg:9090/job/re20-server-test-upload-logs-to-ftp/build?token=actualizarlogsparavererrores");
|
||||
}
|
||||
fetch("http://ao20-test.duckdns.org:9090/job/re20-server-test-upload-logs-to-ftp/build?token=actualizarlogsparavererrores")
|
||||
.catch(function (error) {
|
||||
alert("No se pudo actualizar log de Test Error: " + error);
|
||||
});
|
||||
|
||||
alert("Por favor espera unos minutos para que se terminen de subir los logs correspondientes. Podes ver el proceso desde Jenkins o desde el chat de discord en #dev-logs");
|
||||
alert("Se estan actualizando los logs de produccion y test. Por favor espera unos minutos para que se terminen de subir. Podes ver el proceso desde Jenkins o desde el chat de discord en #dev-logs");
|
||||
}
|
||||
|
||||
function select_all() { change_checkboxes(get_checkboxes(), !0) }
|
||||
|
|
Loading…
Reference in a new issue