Skip to content

Instantly share code, notes, and snippets.

@q0rban
Created December 7, 2012 21:04
Show Gist options
  • Save q0rban/4236526 to your computer and use it in GitHub Desktop.
Save q0rban/4236526 to your computer and use it in GitHub Desktop.
Jenkins Drush Log Parser rules
warning /\[warning\]/
error /\[error\]/
info /\[completed\]/
info /\[success\]/
info /\[ok\]/
error /Processed 0/
@q0rban
Copy link
Author

q0rban commented Dec 12, 2012

To use these rules with the Log Parser or Console Output Parsing plugin, follow these instructions:

  1. Log in as jenkins on the server
    • sudo su - jenkins
  2. Create a log-parser-rules directory in the homedir.
    • mkdir ~/log-parser-rules
  3. Use the Drush log parser rules from https://gist.github.com/4236526
    • wget -O ~/log-parser-rules/drush https://gist.githubusercontent.com/q0rban/4236526/raw/32b2d28a203c0f4a284e487cf7c8dfba6fc40037/jenkins_log_parser_drush
  4. Login to Jenkins, click Manage Jenkins, then Configure System.
  5. Search for Console Output Parsing, and click Add
  6. Under Description, enter Drush
  7. Set Parsing Rules File to the path to the log parser rules above.

@q0rban
Copy link
Author

q0rban commented Oct 7, 2014

Thanks @njt1982! Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment