Created
May 24, 2017 19:20
-
-
Save dmsimard/0b6e1720b7fa1f7d0f696fc00b6418ab to your computer and use it in GitHub Desktop.
ARA failures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Iterate through failed tasks with ignore_errors False | |
IFS=$'\n' | |
for result in $(ara result list --all -f value -c ID -c Action -c Status -c "Ignore Errors" | grep "failed False") | |
do | |
id=$(echo $result | awk '{print $1}') | |
action=$(echo $result | awk '{print $2}') | |
echo "$action task failure: http://url/result/${id}/" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command task failure: http://url/result/083fe287-677c-4f51-a337-fc92be77facc/ | |
fail task failure: http://url/result/ffc82b1e-623d-4d7a-ad26-d3ebab34b777/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment