You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: arduino-ci-script.sh
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -453,7 +453,7 @@ function install_package()
453
453
local -r unsupportedInstallBoardsOptionVersionsRange2regex="1.6.[0-3]"
454
454
if [[ "$NEWEST_INSTALLED_IDE_VERSION"=~$unsupportedInstallBoardsOptionVersionsRange1regex||"$NEWEST_INSTALLED_IDE_VERSION"=~$unsupportedInstallBoardsOptionVersionsRange2regex ]];then
455
455
echo"ERROR: --install-boards option is not supported by the newest version of the Arduino IDE you have installed. You must have Arduino IDE 1.6.4 or newer installed to use this function."
456
-
return1
456
+
return"$ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS"
457
457
else
458
458
# Temporarily install the latest IDE version to use for the package installation
local -r unsupportedInstallLibraryOptionVersionsRange2regex="1.6.[0-3]"
550
550
if [[ "$NEWEST_INSTALLED_IDE_VERSION"=~$unsupportedInstallLibraryOptionVersionsRange1regex||"$NEWEST_INSTALLED_IDE_VERSION"=~$unsupportedInstallLibraryOptionVersionsRange2regex ]];then
551
551
echo"ERROR: --install-library option is not supported by the newest version of the Arduino IDE you have installed. You must have Arduino IDE 1.6.4 or newer installed to use this function."
@@ -886,18 +886,18 @@ function publish_report_to_repository()
886
886
fi
887
887
else
888
888
echo"ERROR: Failed to push to remote branch."
889
-
return3
889
+
return"$ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS"
890
890
fi
891
891
else
892
892
echo"ERROR: Failed to clone branch ${reportBranch} of repository URL ${repositoryURL}. Do they exist?"
893
-
return2
893
+
return"$ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS"
894
894
fi
895
895
else
896
896
echo"No report file available for this job"
897
897
fi
898
898
else
899
899
echo"Publishing report failed. GitHub token, repository URL, and repository branch must be defined to use this function. See https://github.com/per1234/arduino-ci-script#publishing-job-reports for instructions."
900
-
return1
900
+
return"$ARDUINO_CI_SCRIPT_FAILURE_EXIT_STATUS"
901
901
fi
902
902
903
903
disable_verbosity
@@ -943,7 +943,7 @@ curlDataHere
943
943
fi
944
944
else
945
945
echo"Publishing report failed. GitHub token and gist URL must be defined in your Travis CI settings for this repository in order to use this function. See https://github.com/per1234/arduino-ci-script#publishing-job-reports for instructions."
0 commit comments