Skip to content

Instantly share code, notes, and snippets.

@majirosstefan
Created September 19, 2021 09:54
Show Gist options
  • Save majirosstefan/2acee52c9aa2367cc4e664ac86a4a76e to your computer and use it in GitHub Desktop.
Save majirosstefan/2acee52c9aa2367cc4e664ac86a4a76e to your computer and use it in GitHub Desktop.
if [ -z ${RUN_E2E_TESTS+x} ]; then
echo "E2E are not turned on for this build."
exit 0 // calling exit with 0 will skip further execution of script
// also, exit 1 is similar to exception
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment