Skip to content
Snippets Groups Projects
Commit 7cb74cd2 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: add error message about second attempt failure

parent 5cbea527
No related branches found
No related tags found
1 merge request!983fix: limit --no-cache retries to 1
Pipeline #101224 canceled
This commit is part of merge request !983. Comments created here will be created in the context of that merge request.
...@@ -292,6 +292,7 @@ base: ...@@ -292,6 +292,7 @@ base:
exit 1 ; exit 1 ;
fi ; fi ;
if test ${attempts} -ge 1 ; then if test ${attempts} -ge 1 ; then
echo "Failed to build on second attempt!" ;
exit 1 ; exit 1 ;
fi ; fi ;
let attempts=$attempts+1 ; let attempts=$attempts+1 ;
...@@ -452,6 +453,7 @@ eic: ...@@ -452,6 +453,7 @@ eic:
exit 1 ; exit 1 ;
fi ; fi ;
if test ${attempts} -ge 1 ; then if test ${attempts} -ge 1 ; then
echo "Failed to build on second attempt!" ;
exit 1 ; exit 1 ;
fi ; fi ;
let attempts=$attempts+1 ; let attempts=$attempts+1 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment