Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
azure devops running shellcheck
- bash: |
echo "This checks for formatting and common bash errors. See wiki for error details and ignore options:"
export scversion="stable"
wget -qO- "${scversion?}.linux.x86_64.tar.xz" | tar -xJv
sudo mv "shellcheck-${scversion}/shellcheck" /usr/bin/
rm -r "shellcheck-${scversion}"
shellcheck ./scripts/*.sh
displayName: "Validate Scripts: Shellcheck"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment