summaryrefslogtreecommitdiffstats
path: root/jjb/lab/include-raw-lab-retrieve-logs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/lab/include-raw-lab-retrieve-logs.sh')
-rw-r--r--jjb/lab/include-raw-lab-retrieve-logs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/lab/include-raw-lab-retrieve-logs.sh b/jjb/lab/include-raw-lab-retrieve-logs.sh
new file mode 100644
index 000000000..6335e49d7
--- /dev/null
+++ b/jjb/lab/include-raw-lab-retrieve-logs.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -xe -o pipefail
+
+echo Job triggered by $SRC_BUILD_URL
+echo Retriving logs from $LOG_DIR_URL
+
+rm -rf archives
+wget -r -nv -nd --no-parent -l 1 --reject="index.html*" -P archives "$LOG_DIR_URL"
+cat archives/console.log