-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix e2e yaml false success report 🛃
Even if a `TaskRun`, or a `PipelineRun` fails, the script will return an exit code 0, which will show in CI as success. This fixes that. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
- Loading branch information
1 parent
639b300
commit 5d5e4c9
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,7 @@ function check_results() { | |
fi | ||
done | ||
|
||
echo "failed $failed" | ||
return ${failed} | ||
} | ||
|
||
|
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