Skip to content

Commit 74262b1

Browse files
committed
Tell ShellCheck to ignore the issues in comment_report_link
The line that publishes the report has a lot of problems reported by ShellCheck but all my efforts to resolve them have resulted in it no longer working. I have never had any problems with this command as is. So I'm giving up for now and just telling ShellCheck to ignore it. I hope to properly resolve this eventually.
1 parent 9c5607b commit 74262b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arduino-ci-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,9 @@ function comment_report_link()
11471147
local -r token="$1"
11481148
local -r reportURL="$2"
11491149

1150+
# shellcheck disable=SC1083
1151+
# shellcheck disable=SC2026
1152+
# shellcheck disable=SC2086
11501153
eval curl $ARDUINO_CI_SCRIPT_VERBOSITY_OPTION --header "\"Authorization: token ${token}\"" --data \"{'\"'body'\"':'\"'Once completed, the job reports for Travis CI [build ${TRAVIS_BUILD_NUMBER}]\(https://travis-ci.org/${TRAVIS_REPO_SLUG}/builds/${TRAVIS_BUILD_ID}\) will be found at:\\n${reportURL}'\"'}\" "\"https://api.github.com/repos/${TRAVIS_REPO_SLUG}/commits/${TRAVIS_COMMIT}/comments\"" "$ARDUINO_CI_SCRIPT_VERBOSITY_REDIRECT"
11511154
if [[ $? -ne $ARDUINO_CI_SCRIPT_SUCCESS_EXIT_STATUS ]]; then
11521155
echo "ERROR: Failed to comment link to published report location"

0 commit comments

Comments
 (0)