File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ function build_sketch()
683
683
# A sketch was specified
684
684
if ! build_this_sketch " $sketchPath " " $boardID " " $IDEversion " " $allowFail " ; then
685
685
# build_this_sketch returned a non-zero exit status
686
- buildSketchExitStatus=1
686
+ buildSketchExitStatus=" $ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS "
687
687
fi
688
688
else
689
689
# Search for all sketches in the path and put them in an array
@@ -702,7 +702,7 @@ function build_sketch()
702
702
if [[ " $sketchFolder " == " $sketchNameWithoutPathWithoutExtension " ]]; then
703
703
if ! build_this_sketch " $sketchName " " $boardID " " $IDEversion " " $allowFail " ; then
704
704
# build_this_sketch returned a non-zero exit status
705
- buildSketchExitStatus=1 ;
705
+ buildSketchExitStatus=" $ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS "
706
706
fi
707
707
fi
708
708
done
You can’t perform that action at this time.
0 commit comments