Skip to content

Instantly share code, notes, and snippets.

@kbaribeau
Created March 3, 2011 20:16
Show Gist options
  • Save kbaribeau/853446 to your computer and use it in GitHub Desktop.
Save kbaribeau/853446 to your computer and use it in GitHub Desktop.
Run all failing cucumber scenarios from a hudson log
curl http://url-to-hudson-log | grep -A 5 'Failing Scenarios' | grep ^cucumber | awk '{print $2}' | sed -e 's/^.*\(\/features.*\)$/\1/' | sed -e 's/^.//' | xargs script/cucumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment