)]}'
{"jenkins/scripts/grab_console_log.sh":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"21a10f4ab5ff632194cc835458f39d25a81fe0b4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -xe"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"# Keep fetching until this uuid to appear in the logs before uploading"},{"line_number":4,"context_line":"END_UUID\u003d$(cat /proc/sys/kernel/random/uuid)"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"echo \"Grabbing consoleLog ($END_UUID)\""},{"line_number":7,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a930d6b_0d3e2d8c","line":4,"updated":"2015-01-27 00:37:48.000000000","message":"uuidgen is also a thing, but that\u0027s cool","commit_id":"5e8d11f4b4d9f6c4b99552b6c7f2d902d1a1bb5c"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"747dda66c38b6bc6d1df92d3995c2fdd6050e6be","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"# Get the plain text version (does not contain links or timestamps)"},{"line_number":9,"context_line":"console_log_path\u003d\u0027consoleText\u0027"},{"line_number":10,"context_line":"while ! grep -q \"$END_UUID\" /tmp/console.txt; do"},{"line_number":11,"context_line":"    wget -c -O /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path"},{"line_number":12,"context_line":"done"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a930d6b_8d94dd8b","line":10,"updated":"2015-01-27 00:34:09.000000000","message":"Technically a preexisting/latent bug, but when we start using this for jobs which run on non-ephemeral workers we\u0027ll need to namespace and/or clean up this tempfile to avoid collisions.","commit_id":"5e8d11f4b4d9f6c4b99552b6c7f2d902d1a1bb5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"21a10f4ab5ff632194cc835458f39d25a81fe0b4","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"# Get the plain text version (does not contain links or timestamps)"},{"line_number":9,"context_line":"console_log_path\u003d\u0027consoleText\u0027"},{"line_number":10,"context_line":"while ! grep -q \"$END_UUID\" /tmp/console.txt; do"},{"line_number":11,"context_line":"    wget -c -O /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path"},{"line_number":12,"context_line":"done"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a930d6b_8d705d73","line":10,"in_reply_to":"1a930d6b_8d94dd8b","updated":"2015-01-27 00:37:48.000000000","message":"I suggest an exit trap for the cleanup.","commit_id":"5e8d11f4b4d9f6c4b99552b6c7f2d902d1a1bb5c"}]}
