)]}'
{"copy_logs.sh":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"ebf53bf49da1e4e9c6fefee708618cb6126f26fc","unresolved":false,"context_lines":[{"line_number":62,"context_line":"if uses_debs; then"},{"line_number":63,"context_line":"    sudo cp /var/log/syslog $LOG_DIR/syslog.txt"},{"line_number":64,"context_line":"    sudo cp /var/log/kern.log $LOG_DIR/kern_log.txt"},{"line_number":65,"context_line":"elif is_fedora; then"},{"line_number":66,"context_line":"    sudo journalctl --no-pager \u003e $LOG_DIR/syslog.txt"},{"line_number":67,"context_line":"fi"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-sh","patch_set":7,"id":"7aa08908_412f60f6","line":65,"updated":"2016-06-09 19:58:44.000000000","message":"Might need this journalctl thing for xenial as well","commit_id":"bb84b7fef0d9ff1261a685894dee0ea351cc9aaa"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"dff5d5b3b46a9ca1bf2ec13123ac40dd4538a7c7","unresolved":false,"context_lines":[{"line_number":62,"context_line":"if uses_debs; then"},{"line_number":63,"context_line":"    sudo cp /var/log/syslog $LOG_DIR/syslog.txt"},{"line_number":64,"context_line":"    sudo cp /var/log/kern.log $LOG_DIR/kern_log.txt"},{"line_number":65,"context_line":"elif is_fedora; then"},{"line_number":66,"context_line":"    sudo journalctl --no-pager \u003e $LOG_DIR/syslog.txt"},{"line_number":67,"context_line":"fi"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-sh","patch_set":7,"id":"7aa08908_61c6dc17","line":65,"in_reply_to":"7aa08908_412f60f6","updated":"2016-06-09 20:00:22.000000000","message":"excellent! once we have the script running in our CI, I\u0027ll iterate and add it.","commit_id":"bb84b7fef0d9ff1261a685894dee0ea351cc9aaa"}],"run_tests.sh":[{"author":{"_account_id":4162,"name":"Paul Belanger","email":"pabelanger@redhat.com","username":"pabelanger"},"change_message_id":"0197232a49af6200e330d9fe7c0e7312985e7e5b","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  SUDO\u003d\u0027sudo -E\u0027"},{"line_number":46,"context_line":"fi"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"if [ -n \"$WORKSPACE\" ]; then"},{"line_number":49,"context_line":"    trap \"$SUDO ./copy_logs.sh\" EXIT"},{"line_number":50,"context_line":"fi"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"7aa08908_26a075a5","line":48,"updated":"2016-06-09 16:24:33.000000000","message":"You\u0027ll want to setup your trap closer to the top of your script.  That way, it will fire as the script exits.","commit_id":"a10b38d9a94f8f623fc55da869dadcf4b80dd156"}]}
