Skip to content
Snippets Groups Projects
Commit bd219d20 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix pipeline error exit

parent c8a927f6
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,11 @@ function op { ...@@ -97,7 +97,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_version)" = "function" ] if [ "$(type -t recipe_version)" = "function" ]
then then
recipe_version || skip="1" recipe_version
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
...@@ -118,7 +122,11 @@ function op { ...@@ -118,7 +122,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_update)" = "function" ] if [ "$(type -t recipe_update)" = "function" ]
then then
recipe_update || skip="1" recipe_update
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
...@@ -131,7 +139,11 @@ function op { ...@@ -131,7 +139,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_build)" = "function" ] if [ "$(type -t recipe_build)" = "function" ]
then then
recipe_build || skip="1" recipe_build
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
...@@ -145,7 +157,11 @@ function op { ...@@ -145,7 +157,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_test)" = "function" ] if [ "$(type -t recipe_test)" = "function" ]
then then
recipe_test || skip="1" recipe_test
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
...@@ -159,7 +175,11 @@ function op { ...@@ -159,7 +175,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_clean)" = "function" ] if [ "$(type -t recipe_clean)" = "function" ]
then then
recipe_clean || skip="1" recipe_clean
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
...@@ -173,7 +193,11 @@ function op { ...@@ -173,7 +193,11 @@ function op {
skip="0" skip="0"
if [ "$(type -t recipe_stage)" = "function" ] if [ "$(type -t recipe_stage)" = "function" ]
then then
recipe_stage ../stage || skip="1" recipe_stage ../stage
if [ "$?" -ne "0" ]
then
skip="1"
fi
fi fi
if [ "$skip" -eq "0" ] if [ "$skip" -eq "0" ]
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment